class Omniship::RateResponse

Attributes

estimates[R]
rate_estimates[R]
rates[R]

Public Class Methods

new(success, message, params = {}, options = {}) click to toggle source
Calls superclass method
# File lib/omniship/rate_response.rb, line 6
def initialize(success, message, params = {}, options = {})
  @rates = Array(options[:estimates] || options[:rates] || options[:rate_estimates])
  super
end