Class: Heremaps::Places::Discover::Here

Inherits:
Base
  • Object
show all
Defined in:
lib/heremaps/resources/places/discover/here.rb

Constant Summary collapse

SERVICE =
"places".freeze
PATH =
"/places/v1/".freeze

Instance Attribute Summary

Attributes inherited from Base

#method_name, #path, #service

Instance Method Summary collapse

Methods inherited from Base

#get, #request_url

Methods inherited from Base

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

Constructor Details

#initializeHere

Returns a new instance of Here.



8
9
10
11
12
# File 'lib/heremaps/resources/places/discover/here.rb', line 8

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