Class: Heremaps::Geocoder::Geocode

Inherits:
Base
  • Object
show all
Defined in:
lib/heremaps/resources/geocoder/geocode.rb

Constant Summary collapse

SERVICE =
"geocoder".freeze
PATH =
"/6.2/".freeze

Instance Attribute Summary

Attributes inherited from Base

#method_name, #path, #service

Instance Method Summary collapse

Methods inherited from Base

get, #get, #prepare_the_request, #request_url, #response_to_missing?

Constructor Details

#initializeGeocode

Returns a new instance of Geocode.



7
8
9
10
11
# File 'lib/heremaps/resources/geocoder/geocode.rb', line 7

def initialize
  @service = SERVICE
  @path = PATH
  @method_name = "geocode".freeze # getroute as default method.
end