Class: GustoEmbedded::Models::Shared::PayrollDigestResultsResults
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollDigestResultsResults
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_digest_results_results.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(idx: nil, entity_type: nil, uuid: nil, name: nil, status: nil, blockers: nil, payrolls: nil) ⇒ PayrollDigestResultsResults
constructor
A new instance of PayrollDigestResultsResults.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(idx: nil, entity_type: nil, uuid: nil, name: nil, status: nil, blockers: nil, payrolls: nil) ⇒ PayrollDigestResultsResults
Returns a new instance of PayrollDigestResultsResults.
31 32 33 34 35 36 37 38 39 |
# File 'lib/gusto_embedded/models/shared/payroll_digest_results_results.rb', line 31 def initialize(idx: nil, entity_type: nil, uuid: nil, name: nil, status: nil, blockers: nil, payrolls: nil) @idx = idx @entity_type = entity_type @uuid = uuid @name = name @status = status @blockers = blockers @payrolls = payrolls end |
Instance Method Details
#==(other) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/gusto_embedded/models/shared/payroll_digest_results_results.rb', line 42 def ==(other) return false unless other.is_a? self.class return false unless @idx == other.idx return false unless @entity_type == other.entity_type return false unless @uuid == other.uuid return false unless @name == other.name return false unless @status == other.status return false unless @blockers == other.blockers return false unless @payrolls == other.payrolls true end |