Class: SmartyStreets::USStreet::Metadata
- Inherits:
-
Object
- Object
- SmartyStreets::USStreet::Metadata
- Defined in:
- lib/smartystreets_ruby_sdk/us_street/metadata.rb
Overview
Instance Attribute Summary collapse
-
#building_default_indicator ⇒ Object
readonly
Returns the value of attribute building_default_indicator.
-
#carrier_route ⇒ Object
readonly
Returns the value of attribute carrier_route.
-
#congressional_district ⇒ Object
readonly
Returns the value of attribute congressional_district.
-
#county_fips ⇒ Object
readonly
Returns the value of attribute county_fips.
-
#county_name ⇒ Object
readonly
Returns the value of attribute county_name.
-
#elot_sequence ⇒ Object
readonly
Returns the value of attribute elot_sequence.
-
#elot_sort ⇒ Object
readonly
Returns the value of attribute elot_sort.
-
#is_an_ews_match ⇒ Object
readonly
Returns the value of attribute is_an_ews_match.
-
#latitude ⇒ Object
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Object
readonly
Returns the value of attribute longitude.
-
#obeys_dst ⇒ Object
readonly
Returns the value of attribute obeys_dst.
-
#precision ⇒ Object
readonly
Returns the value of attribute precision.
-
#rdi ⇒ Object
readonly
Returns the value of attribute rdi.
-
#record_type ⇒ Object
readonly
Returns the value of attribute record_type.
-
#time_zone ⇒ Object
readonly
Returns the value of attribute time_zone.
-
#utc_offset ⇒ Object
readonly
Returns the value of attribute utc_offset.
-
#zip_type ⇒ Object
readonly
Returns the value of attribute zip_type.
Instance Method Summary collapse
-
#initialize(obj) ⇒ Metadata
constructor
A new instance of Metadata.
Constructor Details
#initialize(obj) ⇒ Metadata
Returns a new instance of Metadata.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 9 def initialize(obj) @record_type = obj['record_type'] @zip_type = obj['zip_type'] @county_fips = obj['county_fips'] @county_name = obj['county_name'] @carrier_route = obj['carrier_route'] @congressional_district = obj['congressional_district'] @building_default_indicator = obj['building_default_indicator'] @rdi = obj['rdi'] @elot_sequence = obj['elot_sequence'] @elot_sort = obj['elot_sort'] @latitude = obj['latitude'] @longitude = obj['longitude'] @precision = obj['precision'] @time_zone = obj['time_zone'] @utc_offset = obj['utc_offset'] @obeys_dst = obj['dst'] @is_an_ews_match = obj['ews_match'] end |
Instance Attribute Details
#building_default_indicator ⇒ Object (readonly)
Returns the value of attribute building_default_indicator.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def building_default_indicator @building_default_indicator end |
#carrier_route ⇒ Object (readonly)
Returns the value of attribute carrier_route.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def carrier_route @carrier_route end |
#congressional_district ⇒ Object (readonly)
Returns the value of attribute congressional_district.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def congressional_district @congressional_district end |
#county_fips ⇒ Object (readonly)
Returns the value of attribute county_fips.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def county_fips @county_fips end |
#county_name ⇒ Object (readonly)
Returns the value of attribute county_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def county_name @county_name end |
#elot_sequence ⇒ Object (readonly)
Returns the value of attribute elot_sequence.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def elot_sequence @elot_sequence end |
#elot_sort ⇒ Object (readonly)
Returns the value of attribute elot_sort.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def elot_sort @elot_sort end |
#is_an_ews_match ⇒ Object (readonly)
Returns the value of attribute is_an_ews_match.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def is_an_ews_match @is_an_ews_match end |
#latitude ⇒ Object (readonly)
Returns the value of attribute latitude.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def latitude @latitude end |
#longitude ⇒ Object (readonly)
Returns the value of attribute longitude.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def longitude @longitude end |
#obeys_dst ⇒ Object (readonly)
Returns the value of attribute obeys_dst.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def obeys_dst @obeys_dst end |
#precision ⇒ Object (readonly)
Returns the value of attribute precision.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def precision @precision end |
#rdi ⇒ Object (readonly)
Returns the value of attribute rdi.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def rdi @rdi end |
#record_type ⇒ Object (readonly)
Returns the value of attribute record_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def record_type @record_type end |
#time_zone ⇒ Object (readonly)
Returns the value of attribute time_zone.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def time_zone @time_zone end |
#utc_offset ⇒ Object (readonly)
Returns the value of attribute utc_offset.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def utc_offset @utc_offset end |
#zip_type ⇒ Object (readonly)
Returns the value of attribute zip_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/us_street/metadata.rb', line 5 def zip_type @zip_type end |