Sha256: 3aa45704ae85b95c69cc9d0f791dc17bc24b22d09503b56263a593f3bbd77fac

Contents?: true

Size: 258 Bytes

Versions: 7

Compression:

Stored size: 258 Bytes

Contents

module GeoNamesAPI
  # This endpoint returns a list of geonames, but it's a single hierarchy,
  # so it should be considered a singleton endpoint.
  class Hierarchy < SingletonEndpoint

    METHOD = "hierarchyJSON"
    FIND_PARAMS = %w(geonameId)

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geonames_api-0.1.6 lib/geonames_api/hierarchy.rb
geonames_api-0.1.5 lib/geonames_api/hierarchy.rb
geonames_api-0.1.4 lib/geonames_api/hierarchy.rb
geonames_api-0.1.3 lib/geonames_api/hierarchy.rb
geonames_api-0.1.2 lib/geonames_api/hierarchy.rb
geonames_api-0.1.1 lib/geonames_api/hierarchy.rb
geonames_api-0.1.0 lib/geonames_api/hierarchy.rb