Class: PayrollParser
- Inherits:
-
BaseParser
- Object
- BaseParser
- PayrollParser
- Defined in:
- lib/bob/parsers/payroll_parser.rb
Instance Attribute Summary
Attributes inherited from BaseParser
Instance Method Summary collapse
Methods inherited from BaseParser
Constructor Details
This class inherits a constructor from BaseParser
Instance Method Details
#payroll_histories ⇒ Object
4 5 6 |
# File 'lib/bob/parsers/payroll_parser.rb', line 4 def payroll_histories json_response['employees'].map { |attributes| Models::Payroll.new(attributes) } end |