class Nokia::Here::Resource::Routing::Isoline

Public Class Methods

new() click to toggle source
# File lib/nokia/here/resource/routing/isoline.rb, line 7
def initialize
  super()
  @base_url    = 'http://isoline.route.api.here.com'
  @test_url    = 'http://isoline.route.cit.api.here.com'
  @method_name = 'calculateisoline'
end

Public Instance Methods

get(options={}) click to toggle source
Calls superclass method Nokia::Here::Resource::Base#get
# File lib/nokia/here/resource/routing/isoline.rb, line 14
def get(options={})
  destination = options[:destination]
  start       = options[:start]
  raise "One of destination or start must be supplied" unless destination or start
  super(options)
end