Class: SmartyStreets::USEnrichment::Business::Summary::BusinessEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_enrichment/business/summary/business_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ BusinessEntry

Returns a new instance of BusinessEntry.



8
9
10
11
# File 'lib/smartystreets_ruby_sdk/us_enrichment/business/summary/business_entry.rb', line 8

def initialize(obj)
  @company_name = obj['company_name']
  @business_id = obj['business_id']
end

Instance Attribute Details

#business_idObject (readonly)

Returns the value of attribute business_id.



6
7
8
# File 'lib/smartystreets_ruby_sdk/us_enrichment/business/summary/business_entry.rb', line 6

def business_id
  @business_id
end

#company_nameObject (readonly)

Returns the value of attribute company_name.



6
7
8
# File 'lib/smartystreets_ruby_sdk/us_enrichment/business/summary/business_entry.rb', line 6

def company_name
  @company_name
end