Class: Moov::Models::Components::EnrichedBusinessProfile
- Inherits:
-
Object
- Object
- Moov::Models::Components::EnrichedBusinessProfile
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/moov/models/components/enrichedbusinessprofile.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(address: nil, email: nil, industry_codes: nil, legal_business_name: nil, phone: nil, website: nil) ⇒ EnrichedBusinessProfile
constructor
A new instance of EnrichedBusinessProfile.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(address: nil, email: nil, industry_codes: nil, legal_business_name: nil, phone: nil, website: nil) ⇒ EnrichedBusinessProfile
Returns a new instance of EnrichedBusinessProfile.
30 31 32 33 34 35 36 37 |
# File 'lib/moov/models/components/enrichedbusinessprofile.rb', line 30 def initialize(address: nil, email: nil, industry_codes: nil, legal_business_name: nil, phone: nil, website: nil) @address = address @email = email @industry_codes = industry_codes @legal_business_name = legal_business_name @phone = phone @website = website end |
Instance Method Details
#==(other) ⇒ Object
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/moov/models/components/enrichedbusinessprofile.rb', line 40 def ==(other) return false unless other.is_a? self.class return false unless @address == other.address return false unless @email == other.email return false unless @industry_codes == other.industry_codes return false unless @legal_business_name == other.legal_business_name return false unless @phone == other.phone return false unless @website == other.website true end |