Class: SmartyStreets::USEnrichment::Lookup
- Inherits:
-
LookupBase
- Object
- JSONAble
- LookupBase
- SmartyStreets::USEnrichment::Lookup
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#data_set ⇒ Object
Returns the value of attribute data_set.
-
#data_sub_set ⇒ Object
Returns the value of attribute data_sub_set.
-
#freeform ⇒ Object
Returns the value of attribute freeform.
-
#smarty_key ⇒ Object
Returns the value of attribute smarty_key.
-
#state ⇒ Object
Returns the value of attribute state.
-
#street ⇒ Object
Returns the value of attribute street.
-
#zipcode ⇒ Object
Returns the value of attribute zipcode.
Attributes inherited from LookupBase
#custom_param_hash, #exclude_array, #features, #include_array, #request_etag, #response_etag
Instance Method Summary collapse
-
#initialize(smarty_key = nil, data_set = nil, data_sub_set = nil, freeform = nil, street = nil, city = nil, state = nil, zipcode = nil, request_etag = nil, features = nil) ⇒ Lookup
constructor
A new instance of Lookup.
Methods inherited from LookupBase
#add_custom_parameter, #add_exclude_attribute, #add_include_attribute
Methods inherited from JSONAble
Constructor Details
#initialize(smarty_key = nil, data_set = nil, data_sub_set = nil, freeform = nil, street = nil, city = nil, state = nil, zipcode = nil, request_etag = nil, features = nil) ⇒ Lookup
Returns a new instance of Lookup.
33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 33 def initialize(smarty_key=nil, data_set=nil, data_sub_set=nil, freeform=nil, street=nil, city=nil, state=nil, zipcode=nil, request_etag=nil, features=nil) super() @smarty_key = smarty_key @data_set = data_set @data_sub_set = data_sub_set @freeform = freeform @street = street @city = city @state = state @zipcode = zipcode @request_etag = request_etag @features = features end |
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def city @city end |
#data_set ⇒ Object
Returns the value of attribute data_set.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def data_set @data_set end |
#data_sub_set ⇒ Object
Returns the value of attribute data_sub_set.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def data_sub_set @data_sub_set end |
#freeform ⇒ Object
Returns the value of attribute freeform.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def freeform @freeform end |
#smarty_key ⇒ Object
Returns the value of attribute smarty_key.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def smarty_key @smarty_key end |
#state ⇒ Object
Returns the value of attribute state.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def state @state end |
#street ⇒ Object
Returns the value of attribute street.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def street @street end |
#zipcode ⇒ Object
Returns the value of attribute zipcode.
31 32 33 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/lookup.rb', line 31 def zipcode @zipcode end |