Class: ONEAccess::DataObject::Address

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

Instance Attribute Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city.



8
9
10
# File 'lib/oneaccess/data_object/address.rb', line 8

def city
  @city
end

#countryObject

Returns the value of attribute country.



9
10
11
# File 'lib/oneaccess/data_object/address.rb', line 9

def country
  @country
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/oneaccess/data_object/address.rb', line 7

def id
  @id
end

#is_main_addressObject Also known as: main_address?

Returns the value of attribute is_main_address.



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

def is_main_address
  @is_main_address
end

#regionObject

Returns the value of attribute region.



10
11
12
# File 'lib/oneaccess/data_object/address.rb', line 10

def region
  @region
end