Class: GeoNamesAPI::Hierarchy
- Inherits:
-
SingletonEndpoint
- Object
- Entity
- Base
- SingletonEndpoint
- GeoNamesAPI::Hierarchy
- Defined in:
- lib/geonames_api/hierarchy.rb
Overview
This endpoint returns a list of geonames, but it’s a single hierarchy, so it should be considered a singleton endpoint.
Constant Summary collapse
- METHOD =
"hierarchyJSON"
- FIND_PARAMS =
%w(geonameId)
Instance Attribute Summary
Attributes inherited from Entity
Method Summary
Methods inherited from SingletonEndpoint
Methods inherited from Base
Methods inherited from Entity
#create_attribute, #initialize, #marshal_dump, #marshal_load, #parse_attr, #parse_response, #set_default_type
Constructor Details
This class inherits a constructor from GeoNamesAPI::Entity