Class: SmartyStreets::InternationalStreet::Components
- Inherits:
-
Object
- Object
- SmartyStreets::InternationalStreet::Components
- Defined in:
- lib/smartystreets_ruby_sdk/international_street/components.rb
Overview
Instance Attribute Summary collapse
-
#additional_content ⇒ Object
readonly
Returns the value of attribute additional_content.
-
#administrative_area ⇒ Object
readonly
Returns the value of attribute administrative_area.
-
#administrative_area_long ⇒ Object
readonly
Returns the value of attribute administrative_area_long.
-
#administrative_area_short ⇒ Object
readonly
Returns the value of attribute administrative_area_short.
-
#building ⇒ Object
readonly
Returns the value of attribute building.
-
#building_leading_type ⇒ Object
readonly
Returns the value of attribute building_leading_type.
-
#building_name ⇒ Object
readonly
Returns the value of attribute building_name.
-
#building_trailing_type ⇒ Object
readonly
Returns the value of attribute building_trailing_type.
-
#country_iso_3 ⇒ Object
readonly
Returns the value of attribute country_iso_3.
-
#delivery_installation ⇒ Object
readonly
Returns the value of attribute delivery_installation.
-
#delivery_installation_qualifier_name ⇒ Object
readonly
Returns the value of attribute delivery_installation_qualifier_name.
-
#delivery_installation_type ⇒ Object
readonly
Returns the value of attribute delivery_installation_type.
-
#dependent_locality ⇒ Object
readonly
Returns the value of attribute dependent_locality.
-
#dependent_locality_name ⇒ Object
readonly
Returns the value of attribute dependent_locality_name.
-
#dependent_thoroughfare ⇒ Object
readonly
Returns the value of attribute dependent_thoroughfare.
-
#dependent_thoroughfare_name ⇒ Object
readonly
Returns the value of attribute dependent_thoroughfare_name.
-
#dependent_thoroughfare_postdirection ⇒ Object
readonly
Returns the value of attribute dependent_thoroughfare_postdirection.
-
#dependent_thoroughfare_predirection ⇒ Object
readonly
Returns the value of attribute dependent_thoroughfare_predirection.
-
#dependent_thoroughfare_trailing_type ⇒ Object
readonly
Returns the value of attribute dependent_thoroughfare_trailing_type.
-
#dependent_thoroughfare_type ⇒ Object
readonly
Returns the value of attribute dependent_thoroughfare_type.
-
#double_dependent_locality ⇒ Object
readonly
Returns the value of attribute double_dependent_locality.
-
#level_number ⇒ Object
readonly
Returns the value of attribute level_number.
-
#level_type ⇒ Object
readonly
Returns the value of attribute level_type.
-
#locality ⇒ Object
readonly
Returns the value of attribute locality.
-
#post_box ⇒ Object
readonly
Returns the value of attribute post_box.
-
#post_box_number ⇒ Object
readonly
Returns the value of attribute post_box_number.
-
#post_box_type ⇒ Object
readonly
Returns the value of attribute post_box_type.
-
#postal_code ⇒ Object
readonly
Returns the value of attribute postal_code.
-
#postal_code_extra ⇒ Object
readonly
Returns the value of attribute postal_code_extra.
-
#postal_code_short ⇒ Object
readonly
Returns the value of attribute postal_code_short.
-
#premise ⇒ Object
readonly
Returns the value of attribute premise.
-
#premise_extra ⇒ Object
readonly
Returns the value of attribute premise_extra.
-
#premise_number ⇒ Object
readonly
Returns the value of attribute premise_number.
-
#premise_prefix_number ⇒ Object
readonly
Returns the value of attribute premise_prefix_number.
-
#premise_type ⇒ Object
readonly
Returns the value of attribute premise_type.
-
#route ⇒ Object
readonly
Returns the value of attribute route.
-
#route_number ⇒ Object
readonly
Returns the value of attribute route_number.
-
#route_type ⇒ Object
readonly
Returns the value of attribute route_type.
-
#sub_administrative_area ⇒ Object
readonly
Returns the value of attribute sub_administrative_area.
-
#sub_building ⇒ Object
readonly
Returns the value of attribute sub_building.
-
#sub_building_name ⇒ Object
readonly
Returns the value of attribute sub_building_name.
-
#sub_building_number ⇒ Object
readonly
Returns the value of attribute sub_building_number.
-
#sub_building_type ⇒ Object
readonly
Returns the value of attribute sub_building_type.
-
#super_administrative_area ⇒ Object
readonly
Returns the value of attribute super_administrative_area.
-
#thoroughfare ⇒ Object
readonly
Returns the value of attribute thoroughfare.
-
#thoroughfare_name ⇒ Object
readonly
Returns the value of attribute thoroughfare_name.
-
#thoroughfare_postdirection ⇒ Object
readonly
Returns the value of attribute thoroughfare_postdirection.
-
#thoroughfare_predirection ⇒ Object
readonly
Returns the value of attribute thoroughfare_predirection.
-
#thoroughfare_trailing_type ⇒ Object
readonly
Returns the value of attribute thoroughfare_trailing_type.
-
#thoroughfare_type ⇒ Object
readonly
Returns the value of attribute thoroughfare_type.
Instance Method Summary collapse
-
#initialize(obj) ⇒ Components
constructor
A new instance of Components.
Constructor Details
#initialize(obj) ⇒ Components
Returns a new instance of Components.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 18 def initialize(obj) @country_iso_3 = obj.fetch('country_iso_3', nil) @super_administrative_area = obj.fetch('super_administrative_area', nil) @administrative_area = obj.fetch('administrative_area', nil) @administrative_area_short = obj.fetch('administrative_area_short', nil) @administrative_area_long = obj.fetch('administrative_area_long', nil) @sub_administrative_area = obj.fetch('sub_administrative_area', nil) @dependent_locality= obj.fetch('dependent_locality', nil) @dependent_locality_name = obj.fetch('dependent_locality_name', nil) @double_dependent_locality = obj.fetch('double_dependent_locality', nil) @locality = obj.fetch('locality', nil) @postal_code = obj.fetch('postal_code', nil) @postal_code_short = obj.fetch('postal_code_short', nil) @postal_code_extra = obj.fetch('postal_code_extra', nil) @premise = obj.fetch('premise', nil) @premise_extra = obj.fetch('premise_extra', nil) @premise_number = obj.fetch('premise_number', nil) @premise_prefix_number = obj.fetch('premise_prefix_number', nil) @premise_type = obj.fetch('premise_type', nil) @thoroughfare = obj.fetch('thoroughfare', nil) @thoroughfare_predirection = obj.fetch('thoroughfare_predirection', nil) @thoroughfare_postdirection = obj.fetch('thoroughfare_postdirection', nil) @thoroughfare_name = obj.fetch('thoroughfare_name', nil) @thoroughfare_trailing_type = obj.fetch('thoroughfare_trailing_type', nil) @thoroughfare_type = obj.fetch('thoroughfare_type', nil) @dependent_thoroughfare = obj.fetch('dependent_thoroughfare', nil) @dependent_thoroughfare_predirection = obj.fetch('dependent_thoroughfare_predirection', nil) @dependent_thoroughfare_postdirection = obj.fetch('dependent_thoroughfare_postdirection', nil) @dependent_thoroughfare_name = obj.fetch('dependent_thoroughfare_name', nil) @dependent_thoroughfare_trailing_type = obj.fetch('dependent_thoroughfare_trailing_type', nil) @dependent_thoroughfare_type = obj.fetch('dependent_thoroughfare_type', nil) @building = obj.fetch('building', nil) @building_leading_type = obj.fetch('building_leading_type', nil) @building_name = obj.fetch('building_name', nil) @building_trailing_type = obj.fetch('building_trailing_type', nil) @sub_building_type = obj.fetch('sub_building_type', nil) @sub_building_number = obj.fetch('sub_building_number', nil) @sub_building_name = obj.fetch('sub_building_name', nil) @sub_building = obj.fetch('sub_building', nil) @level_type = obj.fetch('level_type', nil) @level_number = obj.fetch('level_number', nil) @post_box = obj.fetch('post_box', nil) @post_box_type = obj.fetch('post_box_type', nil) @post_box_number = obj.fetch('post_box_number', nil) @additional_content = obj.fetch('additional_content', nil) @delivery_installation = obj.fetch('delivery_installation', nil) @delivery_installation_type = obj.fetch('delivery_installation_type', nil) @delivery_installation_qualifier_name = obj.fetch('delivery_installation_qualifier_name', nil) @route = obj.fetch('route', nil) @route_number = obj.fetch('route_number', nil) @route_type = obj.fetch('route_type', nil) end |
Instance Attribute Details
#additional_content ⇒ Object (readonly)
Returns the value of attribute additional_content.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def additional_content @additional_content end |
#administrative_area ⇒ Object (readonly)
Returns the value of attribute administrative_area.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def administrative_area @administrative_area end |
#administrative_area_long ⇒ Object (readonly)
Returns the value of attribute administrative_area_long.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def administrative_area_long @administrative_area_long end |
#administrative_area_short ⇒ Object (readonly)
Returns the value of attribute administrative_area_short.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def administrative_area_short @administrative_area_short end |
#building ⇒ Object (readonly)
Returns the value of attribute building.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def building @building end |
#building_leading_type ⇒ Object (readonly)
Returns the value of attribute building_leading_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def building_leading_type @building_leading_type end |
#building_name ⇒ Object (readonly)
Returns the value of attribute building_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def building_name @building_name end |
#building_trailing_type ⇒ Object (readonly)
Returns the value of attribute building_trailing_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def building_trailing_type @building_trailing_type end |
#country_iso_3 ⇒ Object (readonly)
Returns the value of attribute country_iso_3.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def country_iso_3 @country_iso_3 end |
#delivery_installation ⇒ Object (readonly)
Returns the value of attribute delivery_installation.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def delivery_installation @delivery_installation end |
#delivery_installation_qualifier_name ⇒ Object (readonly)
Returns the value of attribute delivery_installation_qualifier_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def delivery_installation_qualifier_name @delivery_installation_qualifier_name end |
#delivery_installation_type ⇒ Object (readonly)
Returns the value of attribute delivery_installation_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def delivery_installation_type @delivery_installation_type end |
#dependent_locality ⇒ Object (readonly)
Returns the value of attribute dependent_locality.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_locality @dependent_locality end |
#dependent_locality_name ⇒ Object (readonly)
Returns the value of attribute dependent_locality_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_locality_name @dependent_locality_name end |
#dependent_thoroughfare ⇒ Object (readonly)
Returns the value of attribute dependent_thoroughfare.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_thoroughfare @dependent_thoroughfare end |
#dependent_thoroughfare_name ⇒ Object (readonly)
Returns the value of attribute dependent_thoroughfare_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_thoroughfare_name @dependent_thoroughfare_name end |
#dependent_thoroughfare_postdirection ⇒ Object (readonly)
Returns the value of attribute dependent_thoroughfare_postdirection.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_thoroughfare_postdirection @dependent_thoroughfare_postdirection end |
#dependent_thoroughfare_predirection ⇒ Object (readonly)
Returns the value of attribute dependent_thoroughfare_predirection.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_thoroughfare_predirection @dependent_thoroughfare_predirection end |
#dependent_thoroughfare_trailing_type ⇒ Object (readonly)
Returns the value of attribute dependent_thoroughfare_trailing_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_thoroughfare_trailing_type @dependent_thoroughfare_trailing_type end |
#dependent_thoroughfare_type ⇒ Object (readonly)
Returns the value of attribute dependent_thoroughfare_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def dependent_thoroughfare_type @dependent_thoroughfare_type end |
#double_dependent_locality ⇒ Object (readonly)
Returns the value of attribute double_dependent_locality.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def double_dependent_locality @double_dependent_locality end |
#level_number ⇒ Object (readonly)
Returns the value of attribute level_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def level_number @level_number end |
#level_type ⇒ Object (readonly)
Returns the value of attribute level_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def level_type @level_type end |
#locality ⇒ Object (readonly)
Returns the value of attribute locality.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def locality @locality end |
#post_box ⇒ Object (readonly)
Returns the value of attribute post_box.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def post_box @post_box end |
#post_box_number ⇒ Object (readonly)
Returns the value of attribute post_box_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def post_box_number @post_box_number end |
#post_box_type ⇒ Object (readonly)
Returns the value of attribute post_box_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def post_box_type @post_box_type end |
#postal_code ⇒ Object (readonly)
Returns the value of attribute postal_code.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def postal_code @postal_code end |
#postal_code_extra ⇒ Object (readonly)
Returns the value of attribute postal_code_extra.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def postal_code_extra @postal_code_extra end |
#postal_code_short ⇒ Object (readonly)
Returns the value of attribute postal_code_short.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def postal_code_short @postal_code_short end |
#premise ⇒ Object (readonly)
Returns the value of attribute premise.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def premise @premise end |
#premise_extra ⇒ Object (readonly)
Returns the value of attribute premise_extra.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def premise_extra @premise_extra end |
#premise_number ⇒ Object (readonly)
Returns the value of attribute premise_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def premise_number @premise_number end |
#premise_prefix_number ⇒ Object (readonly)
Returns the value of attribute premise_prefix_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def premise_prefix_number @premise_prefix_number end |
#premise_type ⇒ Object (readonly)
Returns the value of attribute premise_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def premise_type @premise_type end |
#route ⇒ Object (readonly)
Returns the value of attribute route.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def route @route end |
#route_number ⇒ Object (readonly)
Returns the value of attribute route_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def route_number @route_number end |
#route_type ⇒ Object (readonly)
Returns the value of attribute route_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def route_type @route_type end |
#sub_administrative_area ⇒ Object (readonly)
Returns the value of attribute sub_administrative_area.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def sub_administrative_area @sub_administrative_area end |
#sub_building ⇒ Object (readonly)
Returns the value of attribute sub_building.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def sub_building @sub_building end |
#sub_building_name ⇒ Object (readonly)
Returns the value of attribute sub_building_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def sub_building_name @sub_building_name end |
#sub_building_number ⇒ Object (readonly)
Returns the value of attribute sub_building_number.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def sub_building_number @sub_building_number end |
#sub_building_type ⇒ Object (readonly)
Returns the value of attribute sub_building_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def sub_building_type @sub_building_type end |
#super_administrative_area ⇒ Object (readonly)
Returns the value of attribute super_administrative_area.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def super_administrative_area @super_administrative_area end |
#thoroughfare ⇒ Object (readonly)
Returns the value of attribute thoroughfare.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def thoroughfare @thoroughfare end |
#thoroughfare_name ⇒ Object (readonly)
Returns the value of attribute thoroughfare_name.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def thoroughfare_name @thoroughfare_name end |
#thoroughfare_postdirection ⇒ Object (readonly)
Returns the value of attribute thoroughfare_postdirection.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def thoroughfare_postdirection @thoroughfare_postdirection end |
#thoroughfare_predirection ⇒ Object (readonly)
Returns the value of attribute thoroughfare_predirection.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def thoroughfare_predirection @thoroughfare_predirection end |
#thoroughfare_trailing_type ⇒ Object (readonly)
Returns the value of attribute thoroughfare_trailing_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def thoroughfare_trailing_type @thoroughfare_trailing_type end |
#thoroughfare_type ⇒ Object (readonly)
Returns the value of attribute thoroughfare_type.
5 6 7 |
# File 'lib/smartystreets_ruby_sdk/international_street/components.rb', line 5 def thoroughfare_type @thoroughfare_type end |