Class: SmartyStreets::USEnrichment::Business::Summary::BusinessEntry
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::Business::Summary::BusinessEntry
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/business/summary/business_entry.rb
Instance Attribute Summary collapse
-
#business_id ⇒ Object
readonly
Returns the value of attribute business_id.
-
#company_name ⇒ Object
readonly
Returns the value of attribute company_name.
Instance Method Summary collapse
-
#initialize(obj) ⇒ BusinessEntry
constructor
A new instance of BusinessEntry.
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_id ⇒ Object (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_name ⇒ Object (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 |