module Gistance

Ruby wrapper for Google Distance Matrix API

Constants

VERSION

Current version @return [String]

Public Class Methods

method_missing(method, *args, &block) click to toggle source

@private

Calls superclass method
# File lib/gistance.rb, line 15
def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end
new(options={}) click to toggle source

Delegates to Gistance::Client#new

# File lib/gistance.rb, line 10
def new(options={})
  Gistance::Client.new(options)
end
respond_to?(method, include_private=false) click to toggle source

@private

Calls superclass method
# File lib/gistance.rb, line 21
def respond_to?(method, include_private=false)
  new.respond_to?(method, include_private) || super(method, include_private)
end