Class: FreightKit::RateResponse
- 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
-
#rates ⇒ Array<FreightKit::Rate>
The available rate options for the shipment, with an estimated price.
Attributes inherited from Response
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from FreightKit::Model
Instance Attribute Details
#rates ⇒ Array<FreightKit::Rate>
The available rate options for the shipment, with an estimated price.
12 13 14 |
# File 'lib/freight_kit/models/rate_response.rb', line 12 class RateResponse < Response attr_accessor :rates end |