Class: Azimuth::Client
- Inherits:
-
Object
- Object
- Azimuth::Client
- Includes:
- RouteMatrix, Connection, Request
- Defined in:
- lib/azimuth/client.rb,
lib/azimuth/client/route_matrix.rb
Overview
Client for the MapQuest Directions API
Defined Under Namespace
Modules: RouteMatrix
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from RouteMatrix
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
13 14 15 16 17 18 19 |
# File 'lib/azimuth/client.rb', line 13 def initialize(={}) = Azimuth..merge() Configuration::VALID_OPTIONS.each do |key| send("#{key}=", [key]) end end |