Class: GustoEmbedded::Models::Shared::CompanyIndustrySelectionRequiredBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Shared::CompanyIndustrySelectionRequiredBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/shared/company_industry_selection_required_body.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(naics_code:, sic_codes: nil, title: nil) ⇒ CompanyIndustrySelectionRequiredBody
constructor
A new instance of CompanyIndustrySelectionRequiredBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(naics_code:, sic_codes: nil, title: nil) ⇒ CompanyIndustrySelectionRequiredBody
Returns a new instance of CompanyIndustrySelectionRequiredBody.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/shared/company_industry_selection_required_body.rb', line 23 def initialize(naics_code:, sic_codes: nil, title: nil) @naics_code = naics_code @sic_codes = sic_codes @title = title end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/shared/company_industry_selection_required_body.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @naics_code == other.naics_code return false unless @sic_codes == other.sic_codes return false unless @title == other.title true end |