Class: EasyPost::Models::Order
- Inherits:
-
EasyPostObject
- Object
- Object
- EasyPostObject
- EasyPost::Models::Order
- Defined in:
- lib/easypost/models/order.rb
Overview
The Order object represents a collection of packages and can be used for Multi-Piece Shipments.
Instance Method Summary collapse
-
#lowest_rate(carriers = [], services = []) ⇒ Object
Get the lowest rate of an Order (can exclude by having ‘’!‘` as the first element of your optional filter lists).
Methods inherited from Object
#[], #[]=, #initialize, #to_hash, #to_s
Constructor Details
This class inherits a constructor from EasyPost::Models::Object
Instance Method Details
#lowest_rate(carriers = [], services = []) ⇒ Object
Get the lowest rate of an Order (can exclude by having ‘’!‘` as the first element of your optional filter lists).
6 7 8 |
# File 'lib/easypost/models/order.rb', line 6 def lowest_rate(carriers = [], services = []) EasyPost::Util.get_lowest_object_rate(self, carriers, services) end |