Class: Bob::Employee::Payroll
- Defined in:
- lib/bob/api/employee/payroll.rb
Constant Summary
Constants inherited from API
API::BASE_URL, API::SANDBOX_URL
Class Method Summary collapse
-
.all(params = { showInactive: false }) ⇒ Array<PayrollHistory>
Fetches all payroll histories.
Methods inherited from API
build_url, create_csv, delete, get, headers, post, post_file, post_media, put
Class Method Details
.all(params = { showInactive: false }) ⇒ Array<PayrollHistory>
Fetches all payroll histories.
9 10 11 12 |
# File 'lib/bob/api/employee/payroll.rb', line 9 def self.all(params = { showInactive: false }) response = get('payroll/history', params) PayrollParser.new(response).payroll_histories end |