Class: GustoEmbedded::Models::Shared::GeneralLedgerReport
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::GeneralLedgerReport
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/general_ledger_report.rb
Overview
A request for a general ledger report. The report is generated asynchronously and the URL is available via the report GET endpoint using the returned ‘request_uuid`.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(payroll_uuid: nil, aggregation: nil, request_uuid: nil, integration_type: nil) ⇒ GeneralLedgerReport
constructor
A new instance of GeneralLedgerReport.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(payroll_uuid: nil, aggregation: nil, request_uuid: nil, integration_type: nil) ⇒ GeneralLedgerReport
Returns a new instance of GeneralLedgerReport.
25 26 27 28 29 30 |
# File 'lib/gusto_embedded/models/shared/general_ledger_report.rb', line 25 def initialize(payroll_uuid: nil, aggregation: nil, request_uuid: nil, integration_type: nil) @payroll_uuid = payroll_uuid @aggregation = aggregation @request_uuid = request_uuid @integration_type = integration_type end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/gusto_embedded/models/shared/general_ledger_report.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @payroll_uuid == other.payroll_uuid return false unless @aggregation == other.aggregation return false unless @request_uuid == other.request_uuid return false unless @integration_type == other.integration_type true end |