Class: GustoEmbedded::Models::Shared::EmployeeStateTaxesList
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::EmployeeStateTaxesList
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/employee_state_taxes_list.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(uuid: nil, employee_uuid: nil, state: nil, is_work_state: nil, questions: nil, file_new_hire_report: nil) ⇒ EmployeeStateTaxesList
constructor
A new instance of EmployeeStateTaxesList.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(uuid: nil, employee_uuid: nil, state: nil, is_work_state: nil, questions: nil, file_new_hire_report: nil) ⇒ EmployeeStateTaxesList
Returns a new instance of EmployeeStateTaxesList.
29 30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/employee_state_taxes_list.rb', line 29 def initialize(uuid: nil, employee_uuid: nil, state: nil, is_work_state: nil, questions: nil, file_new_hire_report: nil) @uuid = uuid @employee_uuid = employee_uuid @state = state @is_work_state = is_work_state @questions = questions @file_new_hire_report = file_new_hire_report end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/shared/employee_state_taxes_list.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @uuid == other.uuid return false unless @employee_uuid == other.employee_uuid return false unless @state == other.state return false unless @is_work_state == other.is_work_state return false unless @questions == other.questions return false unless @file_new_hire_report == other.file_new_hire_report true end |