module Uber::Estimates
Constants
- TYPES
- VERSION
Attributes
configuration[RW]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/uber/estimates.rb, line 23 def self.configure yield(configuration) end
get_estimations(type, params)
click to toggle source
# File lib/uber/estimates.rb, line 27 def self.get_estimations(type, params) raise TypeException.new('Type must be :price or :time') unless TYPES.include?(type) response = Request.new(type, params).response end