Class: Heremaps::Routing::CalculateMatrix
- 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
Instance Method Summary collapse
-
#initialize ⇒ CalculateMatrix
constructor
A new instance of CalculateMatrix.
Methods inherited from Base
get, #get, #prepare_the_request, #request_url, #response_to_missing?
Constructor Details
#initialize ⇒ CalculateMatrix
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 |