Class: MangoModel::Address
- Inherits:
-
Object
- Object
- MangoModel::Address
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/address.rb
Overview
Represents an address.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#address_line1 ⇒ Object
- String
-
First line of its details.
-
#address_line2 ⇒ Object
- String
-
Second line of its details.
-
#city ⇒ Object
- String
-
Its city.
-
#country ⇒ Object
- CountryIso
-
Its country.
-
#postal_code ⇒ Object
- String
-
Its postal code.
-
#region ⇒ Object
- String
-
Its region.
Method Summary
Methods included from MangoPay::Jsonifier
Instance Attribute Details
#address_line1 ⇒ Object
- String
-
First line of its details
10 11 12 |
# File 'lib/mangopay/model/address.rb', line 10 def address_line1 @address_line1 end |
#address_line2 ⇒ Object
- String
-
Second line of its details
13 14 15 |
# File 'lib/mangopay/model/address.rb', line 13 def address_line2 @address_line2 end |
#city ⇒ Object
- String
-
Its city
16 17 18 |
# File 'lib/mangopay/model/address.rb', line 16 def city @city end |
#country ⇒ Object
- CountryIso
-
Its country
25 26 27 |
# File 'lib/mangopay/model/address.rb', line 25 def country @country end |
#postal_code ⇒ Object
- String
-
Its postal code
22 23 24 |
# File 'lib/mangopay/model/address.rb', line 22 def postal_code @postal_code end |
#region ⇒ Object
- String
-
Its region
19 20 21 |
# File 'lib/mangopay/model/address.rb', line 19 def region @region end |