class

BambooHRCLI::API

Inherits Reference < Object

BambooHR API Client

Constructors

new(company_domain : String, api_key : String, employee_id : String)
Source

Instance methods

clock_in(note : String | Nil = nil, project_id : Int32 | Nil = nil, task_id : Int32 | Nil = nil) : Tuple(Bool, TimesheetEntry | Nil)
Source
clock_out
Source
get_current_status
Source
get_daily_total(date : String) : Tuple(Bool, Int32)
Source
get_last_response_body
Source
get_last_response_status
Source
get_timesheet_entries(start_date : String, end_date : String) : Tuple(Bool, EmployeeTimesheetEntryCollection | Nil)
Source