module WOTC::Client::Payrolls

Defines methods related to payrolls.

Public Instance Methods

all_payrolls(options={}) click to toggle source

Get as list of hours and wages

# File lib/wotc/client/payrolls.rb, line 6
def all_payrolls(options={})
  paginate("hours-wages")
end
create_payroll(options={}) click to toggle source

Create a payroll record

# File lib/wotc/client/payrolls.rb, line 11
def create_payroll(options={})
  post("hours-wages", options)
end
update_payroll(payroll_id, options={}) click to toggle source

Update a payroll record

# File lib/wotc/client/payrolls.rb, line 22
def update_payroll(payroll_id, options={})
  put("hours-wages/#{payroll_id}")
end