Class: ONEAccess::DataObject::Address
- Inherits:
-
Object
- Object
- ONEAccess::DataObject::Address
- Extended by:
- Serializable
- Defined in:
- lib/oneaccess/data_object/address.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_main_address ⇒ Object
(also: #main_address?)
Returns the value of attribute is_main_address.
-
#region ⇒ Object
Returns the value of attribute region.
Method Summary
Methods included from Serializable
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
13 14 15 |
# File 'lib/oneaccess/data_object/address.rb', line 13 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
14 15 16 |
# File 'lib/oneaccess/data_object/address.rb', line 14 def country @country end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/oneaccess/data_object/address.rb', line 12 def id @id end |
#is_main_address ⇒ Object Also known as: main_address?
Returns the value of attribute is_main_address.
16 17 18 |
# File 'lib/oneaccess/data_object/address.rb', line 16 def is_main_address @is_main_address end |
#region ⇒ Object
Returns the value of attribute region.
15 16 17 |
# File 'lib/oneaccess/data_object/address.rb', line 15 def region @region end |