Module: WhenIWork::Client::Shifts
- Included in:
- WhenIWork::Client
- Defined in:
- lib/wheniwork/client/shifts.rb
Instance Method Summary collapse
Instance Method Details
#shift(shift_id, params = {}, options = {}) ⇒ Object
9 10 11 |
# File 'lib/wheniwork/client/shifts.rb', line 9 def shift(shift_id, params = {}, = {}) get "shifts/#{shift_id}", params, end |
#shifts(params = {}, options = {}) ⇒ Object
5 6 7 |
# File 'lib/wheniwork/client/shifts.rb', line 5 def shifts(params = {}, = {}) get 'shifts', params, .merge(key: 'wheniwork_shifts') end |