Class: SmartyStreets::USStreet::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/us_street/metadata.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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_indicatorObject (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_routeObject (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_districtObject (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_fipsObject (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_nameObject (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_sequenceObject (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_sortObject (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_matchObject (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

#latitudeObject (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

#longitudeObject (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_dstObject (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

#precisionObject (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

#rdiObject (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_typeObject (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_zoneObject (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_offsetObject (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_typeObject (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