Class: ONEAccess::DataObject::Address

Inherits:
Object
  • Object
show all
Extended by:
Serializable
Defined in:
lib/oneaccess/data_object/address.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Serializable

from_json, represented_by

Instance Attribute Details

#cityObject

Returns the value of attribute city.



13
14
15
# File 'lib/oneaccess/data_object/address.rb', line 13

def city
  @city
end

#countryObject

Returns the value of attribute country.



14
15
16
# File 'lib/oneaccess/data_object/address.rb', line 14

def country
  @country
end

#idObject

Returns the value of attribute id.



12
13
14
# File 'lib/oneaccess/data_object/address.rb', line 12

def id
  @id
end

#is_main_addressObject 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

#regionObject

Returns the value of attribute region.



15
16
17
# File 'lib/oneaccess/data_object/address.rb', line 15

def region
  @region
end