class TandaCLI::API::Client
- TandaCLI::API::Client
- Reference
- Object
Included Modules
Defined in:
tanda_cli/api/client.crConstant Summary
-
GET =
"GET"
-
INTERNAL_SERVER_ERROR_STRING =
"Internal Server Error"
-
POST =
"POST"
Constructors
Instance Method Summary
- #get(endpoint : String, query : TQuery | Nil = nil) : HTTP::Client::Response
- #post(endpoint : String, body : TBody) : HTTP::Client::Response
Instance methods inherited from module TandaCLI::API::Endpoints::Shift
shifts(date : Time, show_notes : Bool = false) : API::Result(Array(Types::Shift))shifts(start_date : Time, finish_date : Time, show_notes : Bool = false) : API::Result(Array(Types::Shift)) shifts, todays_shifts(show_notes : Bool = false) : API::Result(Array(Types::Shift)) todays_shifts