Class: OSMN::Address

Inherits:
Struct
  • Object
show all
Defined in:
lib/osmn/structs.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cityObject

Returns the value of attribute city

Returns:

  • (Object)

    the current value of city



15
16
17
# File 'lib/osmn/structs.rb', line 15

def city
  @city
end

#countryObject

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



15
16
17
# File 'lib/osmn/structs.rb', line 15

def country
  @country
end

#country_codeObject

Returns the value of attribute country_code

Returns:

  • (Object)

    the current value of country_code



15
16
17
# File 'lib/osmn/structs.rb', line 15

def country_code
  @country_code
end

#countyObject

Returns the value of attribute county

Returns:

  • (Object)

    the current value of county



15
16
17
# File 'lib/osmn/structs.rb', line 15

def county
  @county
end

#house_numberObject

Returns the value of attribute house_number

Returns:

  • (Object)

    the current value of house_number



15
16
17
# File 'lib/osmn/structs.rb', line 15

def house_number
  @house_number
end

#postcodeObject

Returns the value of attribute postcode

Returns:

  • (Object)

    the current value of postcode



15
16
17
# File 'lib/osmn/structs.rb', line 15

def postcode
  @postcode
end

#roadObject

Returns the value of attribute road

Returns:

  • (Object)

    the current value of road



15
16
17
# File 'lib/osmn/structs.rb', line 15

def road
  @road
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



15
16
17
# File 'lib/osmn/structs.rb', line 15

def state
  @state
end

#state_districtObject

Returns the value of attribute state_district

Returns:

  • (Object)

    the current value of state_district



15
16
17
# File 'lib/osmn/structs.rb', line 15

def state_district
  @state_district
end

#suburbObject

Returns the value of attribute suburb

Returns:

  • (Object)

    the current value of suburb



15
16
17
# File 'lib/osmn/structs.rb', line 15

def suburb
  @suburb
end