Class: GustoEmbedded::Models::Shared::PayrollDigestResultsExclusions
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::PayrollDigestResultsExclusions
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/payroll_digest_results_exclusions.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(idx: nil, entity_type: nil, uuid: nil, status: nil, category: nil, message: nil) ⇒ PayrollDigestResultsExclusions
constructor
A new instance of PayrollDigestResultsExclusions.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(idx: nil, entity_type: nil, uuid: nil, status: nil, category: nil, message: nil) ⇒ PayrollDigestResultsExclusions
Returns a new instance of PayrollDigestResultsExclusions.
29 30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/payroll_digest_results_exclusions.rb', line 29 def initialize(idx: nil, entity_type: nil, uuid: nil, status: nil, category: nil, message: nil) @idx = idx @entity_type = entity_type @uuid = uuid @status = status @category = category @message = end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/payroll_digest_results_exclusions.rb', line 39 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 @status == other.status return false unless @category == other.category return false unless @message == other. true end |