Class: SmartyStreets::USEnrichment::Property::Financial::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_enrichment/property/financial/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#attributesObject (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_setObject (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_setObject (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

#etagObject (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_keyObject (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