Class: SmartyStreets::InternationalStreet::RootLevel
- Inherits:
-
Object
- Object
- SmartyStreets::InternationalStreet::RootLevel
- Defined in:
- lib/smartystreets_ruby_sdk/international_street/rootlevel.rb
Instance Attribute Summary collapse
-
#address1 ⇒ Object
readonly
Returns the value of attribute address1.
-
#address10 ⇒ Object
readonly
Returns the value of attribute address10.
-
#address11 ⇒ Object
readonly
Returns the value of attribute address11.
-
#address12 ⇒ Object
readonly
Returns the value of attribute address12.
-
#address2 ⇒ Object
readonly
Returns the value of attribute address2.
-
#address3 ⇒ Object
readonly
Returns the value of attribute address3.
-
#address4 ⇒ Object
readonly
Returns the value of attribute address4.
-
#address5 ⇒ Object
readonly
Returns the value of attribute address5.
-
#address6 ⇒ Object
readonly
Returns the value of attribute address6.
-
#address7 ⇒ Object
readonly
Returns the value of attribute address7.
-
#address8 ⇒ Object
readonly
Returns the value of attribute address8.
-
#address9 ⇒ Object
readonly
Returns the value of attribute address9.
-
#input_id ⇒ Object
readonly
Returns the value of attribute input_id.
-
#organization ⇒ Object
readonly
Returns the value of attribute organization.
Instance Method Summary collapse
-
#initialize(obj) ⇒ RootLevel
constructor
A new instance of RootLevel.
Constructor Details
#initialize(obj) ⇒ RootLevel
Returns a new instance of RootLevel.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 7 def initialize(obj) @input_id = obj.fetch('input_id', nil) @organization = obj.fetch('organization', nil) @address1 = obj.fetch('address1', nil) @address2 = obj.fetch('address2', nil) @address3 = obj.fetch('address3', nil) @address4 = obj.fetch('address4', nil) @address5 = obj.fetch('address5', nil) @address6 = obj.fetch('address6', nil) @address7 = obj.fetch('address7', nil) @address8 = obj.fetch('address8', nil) @address9 = obj.fetch('address9', nil) @address10 = obj.fetch('address10', nil) @address11 = obj.fetch('address11', nil) @address12 = obj.fetch('address12', nil) end |
Instance Attribute Details
#address1 ⇒ Object (readonly)
Returns the value of attribute address1.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address1 @address1 end |
#address10 ⇒ Object (readonly)
Returns the value of attribute address10.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address10 @address10 end |
#address11 ⇒ Object (readonly)
Returns the value of attribute address11.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address11 @address11 end |
#address12 ⇒ Object (readonly)
Returns the value of attribute address12.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address12 @address12 end |
#address2 ⇒ Object (readonly)
Returns the value of attribute address2.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address2 @address2 end |
#address3 ⇒ Object (readonly)
Returns the value of attribute address3.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address3 @address3 end |
#address4 ⇒ Object (readonly)
Returns the value of attribute address4.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address4 @address4 end |
#address5 ⇒ Object (readonly)
Returns the value of attribute address5.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address5 @address5 end |
#address6 ⇒ Object (readonly)
Returns the value of attribute address6.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address6 @address6 end |
#address7 ⇒ Object (readonly)
Returns the value of attribute address7.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address7 @address7 end |
#address8 ⇒ Object (readonly)
Returns the value of attribute address8.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address8 @address8 end |
#address9 ⇒ Object (readonly)
Returns the value of attribute address9.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def address9 @address9 end |
#input_id ⇒ Object (readonly)
Returns the value of attribute input_id.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def input_id @input_id end |
#organization ⇒ Object (readonly)
Returns the value of attribute organization.
4 5 6 |
# File 'lib/smartystreets_ruby_sdk/international_street/rootlevel.rb', line 4 def organization @organization end |