Class: FreightKit::RateResponse

Inherits:
Response show all
Defined in:
lib/freight_kit/models/rate_response.rb

Overview

The ‘RateResponse` object is returned by the Carrier#find_rates call. The most important method is #rates, which will return a list of possible shipping options with an estimated price.

Instance Attribute Summary collapse

Attributes inherited from Response

#error, #request, #response

Method Summary

Methods inherited from Model

#attributes, #initialize

Constructor Details

This class inherits a constructor from FreightKit::Model

Instance Attribute Details

#ratesArray<FreightKit::Rate>

The available rate options for the shipment, with an estimated price.

Returns:



12
13
14
# File 'lib/freight_kit/models/rate_response.rb', line 12

class RateResponse < Response
  attr_accessor :rates
end