Class: GeoAPI::Entry

Inherits:
GeoObject show all
Defined in:
lib/geoapi/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from GeoObject

api_key_from_parameters, delete, entity_type, find, get, post, search

Constructor Details

#initialize(attrs) ⇒ Entry

Returns a new instance of Entry.



6
7
8
9
10
# File 'lib/geoapi/entry.rb', line 6

def initialize attrs
  super(attrs)
  self.properties = attrs['properties']
  
end

Instance Attribute Details

#propertiesObject

Returns the value of attribute properties.



4
5
6
# File 'lib/geoapi/entry.rb', line 4

def properties
  @properties
end