Class: GeoAPI::Entry
Instance Attribute Summary collapse
-
#properties ⇒ Object
Returns the value of attribute properties.
Instance Method Summary collapse
-
#initialize(attrs) ⇒ Entry
constructor
A new instance of Entry.
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
#properties ⇒ Object
Returns the value of attribute properties.
4 5 6 |
# File 'lib/geoapi/entry.rb', line 4 def properties @properties end |