Class: OSMN::Result

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

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



2
3
4
# File 'lib/osmn/structs.rb', line 2

def address
  @address
end

#boundingboxObject

Returns the value of attribute boundingbox

Returns:

  • (Object)

    the current value of boundingbox



2
3
4
# File 'lib/osmn/structs.rb', line 2

def boundingbox
  @boundingbox
end

#classObject

Returns the value of attribute class

Returns:

  • (Object)

    the current value of class



2
3
4
# File 'lib/osmn/structs.rb', line 2

def class
  @class
end

#display_nameObject

Returns the value of attribute display_name

Returns:

  • (Object)

    the current value of display_name



2
3
4
# File 'lib/osmn/structs.rb', line 2

def display_name
  @display_name
end

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



2
3
4
# File 'lib/osmn/structs.rb', line 2

def icon
  @icon
end

#importanceObject

Returns the value of attribute importance

Returns:

  • (Object)

    the current value of importance



2
3
4
# File 'lib/osmn/structs.rb', line 2

def importance
  @importance
end

#latObject

Returns the value of attribute lat

Returns:

  • (Object)

    the current value of lat



2
3
4
# File 'lib/osmn/structs.rb', line 2

def lat
  @lat
end

#licenceObject

Returns the value of attribute licence

Returns:

  • (Object)

    the current value of licence



2
3
4
# File 'lib/osmn/structs.rb', line 2

def licence
  @licence
end

#lonObject

Returns the value of attribute lon

Returns:

  • (Object)

    the current value of lon



2
3
4
# File 'lib/osmn/structs.rb', line 2

def lon
  @lon
end

#osm_idObject

Returns the value of attribute osm_id

Returns:

  • (Object)

    the current value of osm_id



2
3
4
# File 'lib/osmn/structs.rb', line 2

def osm_id
  @osm_id
end

#osm_typeObject

Returns the value of attribute osm_type

Returns:

  • (Object)

    the current value of osm_type



2
3
4
# File 'lib/osmn/structs.rb', line 2

def osm_type
  @osm_type
end

#place_idObject

Returns the value of attribute place_id

Returns:

  • (Object)

    the current value of place_id



2
3
4
# File 'lib/osmn/structs.rb', line 2

def place_id
  @place_id
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



2
3
4
# File 'lib/osmn/structs.rb', line 2

def type
  @type
end