Class: SmartyStreets::USEnrichment::Secondary::Count::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Response

Returns a new instance of Response.



8
9
10
11
12
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb', line 8

def initialize(obj)
  @smarty_key = obj['smarty_key']
  @matched_address = obj['matched_address']
  @count = obj['count']
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



6
7
8
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb', line 6

def count
  @count
end

#matched_addressObject (readonly)

Returns the value of attribute matched_address.



6
7
8
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb', line 6

def matched_address
  @matched_address
end

#smarty_keyObject (readonly)

Returns the value of attribute smarty_key.



6
7
8
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb', line 6

def smarty_key
  @smarty_key
end