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