Class: MachineShop::Mapping
- Inherits:
-
Object
- Object
- MachineShop::Mapping
- Defined in:
- lib/machineshop/mapping.rb
Class Method Summary collapse
- .directions(params = {}, auth_token) ⇒ Object
- .distance(params = {}, auth_token) ⇒ Object
-
.geocode(params = {}, auth_token) ⇒ Object
Specific API calls.
Class Method Details
.directions(params = {}, auth_token) ⇒ Object
8 9 10 |
# File 'lib/machineshop/mapping.rb', line 8 def self.directions(params={}, auth_token) MachineShop.gem_get(directions_url, auth_token, params) end |
.distance(params = {}, auth_token) ⇒ Object
12 13 14 |
# File 'lib/machineshop/mapping.rb', line 12 def self.distance(params={}, auth_token) MachineShop.gem_get(distance_url, auth_token, params) end |
.geocode(params = {}, auth_token) ⇒ Object
Specific API calls
4 5 6 |
# File 'lib/machineshop/mapping.rb', line 4 def self.geocode(params={}, auth_token) MachineShop.gem_get(geocode_url, auth_token, params) end |