Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
TandaCLI::API::Resources::Shifts
Inherits
Struct
<
Value
<
Object
Constructors
new
(request :
Request
)
Source
Instance methods
list
(user_id :
Int32
, date :
Time
, show_notes :
Bool
= false) :
Result
(
Array
(
Types::Shift
))
Source
list
(user_id :
Int32
, start_date :
Time
, finish_date :
Time
, show_notes :
Bool
= false) :
Result
(
Array
(
Types::Shift
))
Source
update
(shift_id :
Int32
, & :
Types::ShiftUpdate
-> ) :
Result
(
Nil
)
Source