module WhenIWork::Client::Shifts
Public Instance Methods
shift(shift_id, params = {}, options = {})
click to toggle source
# File lib/wheniwork/client/shifts.rb, line 9 def shift(shift_id, params = {}, options = {}) get "shifts/#{shift_id}", params, options end
shifts(params = {}, options = {})
click to toggle source
# File lib/wheniwork/client/shifts.rb, line 5 def shifts(params = {}, options = {}) get 'shifts', params, options.merge(key: 'wheniwork_shifts') end