Class: SmartyStreets::InternationalStreet::RootLevel

Inherits:
Object
  • Object
show all
Defined in:
lib/smartystreets_ruby_sdk/international_street/rootlevel.rb

Direct Known Subclasses

Candidate, Changes

Instance Attribute Summary collapse

Instance Method Summary collapse

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

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

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

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

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

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

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

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

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

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

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

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

#address9Object (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_idObject (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

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