Class: Workarea::Geolocation::Address

Inherits:
Struct
  • Object
show all
Defined in:
lib/workarea/geolocation.rb

Instance Attribute Summary collapse

Instance Attribute Details

#countryObject

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



3
4
5
# File 'lib/workarea/geolocation.rb', line 3

def country
  @country
end

#postal_codeObject

Returns the value of attribute postal_code

Returns:

  • (Object)

    the current value of postal_code



3
4
5
# File 'lib/workarea/geolocation.rb', line 3

def postal_code
  @postal_code
end

#regionObject

Returns the value of attribute region

Returns:

  • (Object)

    the current value of region



3
4
5
# File 'lib/workarea/geolocation.rb', line 3

def region
  @region
end