Class: Heremaps::Routing::CalculateMatrix

Inherits:
Base
  • Object
show all
Defined in:
lib/heremaps/resources/routing/calculate_matrix.rb

Constant Summary collapse

SERVICE =
"matrix.route".freeze
PATH =
"/routing/7.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

#initializeCalculateMatrix

Returns a new instance of CalculateMatrix.



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

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