Class: SmartyStreets::USEnrichment::Secondary::Count::Response
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::Secondary::Count::Response
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#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.
8 9 10 11 12 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb', line 8 def initialize(obj, etag=nil) @smarty_key = obj['smarty_key'] @count = obj['count'] @etag = etag end |
Instance Attribute Details
#count ⇒ Object (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 |
#etag ⇒ Object (readonly)
Returns the value of attribute etag.
6 7 8 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/secondary/count/response.rb', line 6 def etag @etag end |
#smarty_key ⇒ Object (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 |