struct

TandaCLI::Models::WorkedShift

Inherits TandaCLI::Utils::Mixins::PrettyTimes::PrettyDate < TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeFinish < TandaCLI::Utils::Mixins::PrettyTimes::PrettyMaybeStart < TandaCLI::Utils::Mixins::PrettyTimes < Struct < Value < Object

Constructors

new(api_shift : API::Types::Shift)
Source

Class methods

from?(api_shift : API::Types::Shift) : WorkedShift | Nil
Source

Instance methods

breaks
Source
date(*args, **options)
Source
date(*args, **options, &)
Source
day_of_week
Source
finish_time(*args, **options)
Source
finish_time(*args, **options, &)
Source
id(*args, **options)
Source
id(*args, **options, &)
Source
last_event_time
Source
notes(*args, **options)
Source
notes(*args, **options, &)
Source
ongoing?
Source
ongoing_break?
Source
open?
Source
start_time(*args, **options)
Source
start_time(*args, **options, &)
Source
status(*args, **options)
Source
status(*args, **options, &)
Source
user_id(*args, **options)
Source
user_id(*args, **options, &)
Source
valid_breaks
Source