class Bob::Employee::VariablePayments

Public Class Methods

all(employee_id) click to toggle source
# File lib/bob/api/employee/variable_payments.rb, line 6
def self.all(employee_id)
  response = get("people/#{employee_id}/variable")
  VariablePaymentParser.new(response).variable_payments
end
create(employee_id, params = {}) click to toggle source
# File lib/bob/api/employee/variable_payments.rb, line 11
def self.create(employee_id, params = {})
  post("people/#{employee_id}/variable", params)
end