Class: SmartyStreets::USEnrichment::Property::Financial::Response
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::Property::Financial::Response
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#data_set ⇒ Object
readonly
Returns the value of attribute data_set.
-
#data_sub_set ⇒ Object
readonly
Returns the value of attribute data_sub_set.
-
#etag ⇒ Object
readonly
Returns the value of attribute etag.
-
#smarty_key ⇒ Object
readonly
Returns the value of attribute smarty_key.
Instance Method Summary collapse
-
#initialize(obj, etag = nil) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(obj, etag = nil) ⇒ Response
Returns a new instance of Response.
10 11 12 13 14 15 16 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb', line 10 def initialize(obj, etag=nil) @smarty_key = obj['smarty_key'] @data_set = obj['data_set'] @data_sub_set = obj['data_sub_set'] @attributes = Attributes.new(obj['attributes']) @etag = etag end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
8 9 10 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb', line 8 def attributes @attributes end |
#data_set ⇒ Object (readonly)
Returns the value of attribute data_set.
8 9 10 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb', line 8 def data_set @data_set end |
#data_sub_set ⇒ Object (readonly)
Returns the value of attribute data_sub_set.
8 9 10 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb', line 8 def data_sub_set @data_sub_set end |
#etag ⇒ Object (readonly)
Returns the value of attribute etag.
8 9 10 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb', line 8 def etag @etag end |
#smarty_key ⇒ Object (readonly)
Returns the value of attribute smarty_key.
8 9 10 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb', line 8 def smarty_key @smarty_key end |