Class: SmartyStreets::USEnrichment::Property::Principal::Lookup
- Inherits:
-
Object
- Object
- SmartyStreets::USEnrichment::Property::Principal::Lookup
- Defined in:
- lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.rb
Instance Attribute Summary collapse
-
#custom_param_hash ⇒ Object
readonly
Returns the value of attribute custom_param_hash.
-
#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
- #add_custom_parameter(parameter, value) ⇒ Object
-
#initialize(smarty_key, etag = nil, custom_param_hash = nil) ⇒ Lookup
constructor
A new instance of Lookup.
Constructor Details
#initialize(smarty_key, etag = nil, custom_param_hash = nil) ⇒ Lookup
Returns a new instance of Lookup.
8 9 10 11 12 13 14 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.rb', line 8 def initialize(smarty_key, etag=nil, custom_param_hash=nil) @smarty_key = smarty_key @data_set = "property" @data_sub_set = "principal" @etag = etag @custom_param_hash = {} end |
Instance Attribute Details
#custom_param_hash ⇒ Object (readonly)
Returns the value of attribute custom_param_hash.
6 7 8 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.rb', line 6 def custom_param_hash @custom_param_hash end |
#data_set ⇒ Object (readonly)
Returns the value of attribute data_set.
6 7 8 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.rb', line 6 def data_set @data_set end |
#data_sub_set ⇒ Object (readonly)
Returns the value of attribute data_sub_set.
6 7 8 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.rb', line 6 def data_sub_set @data_sub_set end |
#etag ⇒ Object (readonly)
Returns the value of attribute etag.
6 7 8 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.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/property/principal/lookup.rb', line 6 def smarty_key @smarty_key end |
Instance Method Details
#add_custom_parameter(parameter, value) ⇒ Object
16 17 18 |
# File 'lib/smartystreets_ruby_sdk/us_enrichment/property/principal/lookup.rb', line 16 def add_custom_parameter(parameter, value) @custom_param_hash[parameter] = value end |