Class: GustoEmbedded::Models::Shared::PayrollPartnerDisbursements
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollPartnerDisbursements
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_partner_disbursements.rb
Overview
Partner disbursements for a payroll
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(payroll_uuid: nil, disbursements: nil) ⇒ PayrollPartnerDisbursements
constructor
A new instance of PayrollPartnerDisbursements.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(payroll_uuid: nil, disbursements: nil) ⇒ PayrollPartnerDisbursements
Returns a new instance of PayrollPartnerDisbursements.
21 22 23 24 |
# File 'lib/gusto_embedded/models/shared/payroll_partner_disbursements.rb', line 21 def initialize(payroll_uuid: nil, disbursements: nil) @payroll_uuid = payroll_uuid @disbursements = disbursements end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/gusto_embedded/models/shared/payroll_partner_disbursements.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @payroll_uuid == other.payroll_uuid return false unless @disbursements == other.disbursements true end |