Class: Kount::RIS::Address
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#address_1 ⇒ Object
Returns the value of attribute address_1.
-
#address_2 ⇒ Object
Returns the value of attribute address_2.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#premise ⇒ Object
Returns the value of attribute premise.
-
#region ⇒ Object
Returns the value of attribute region.
-
#thoroughfare ⇒ Object
Returns the value of attribute thoroughfare.
Instance Method Summary collapse
Instance Attribute Details
#address_1 ⇒ Object
Returns the value of attribute address_1.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def address_1 @address_1 end |
#address_2 ⇒ Object
Returns the value of attribute address_2.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def address_2 @address_2 end |
#city ⇒ Object
Returns the value of attribute city.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def city @city end |
#country_code ⇒ Object
Returns the value of attribute country_code.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def country_code @country_code end |
#phone ⇒ Object
Returns the value of attribute phone.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def phone @phone end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def postal_code @postal_code end |
#premise ⇒ Object
Returns the value of attribute premise.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def premise @premise end |
#region ⇒ Object
Returns the value of attribute region.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def region @region end |
#thoroughfare ⇒ Object
Returns the value of attribute thoroughfare.
4 5 6 |
# File 'app/models/kount/ris/address.rb', line 4 def thoroughfare @thoroughfare end |
Instance Method Details
#to_h ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'app/models/kount/ris/address.rb', line 16 def to_h { address_1: address_1, address_2: address_2, premise: premise, thoroughfare: thoroughfare, city: city, region: region, postal_code: postal_code, country_code: country_code, phone: phone, } end |