Class: PacklinkLite::Shipment
- Inherits:
-
Object
- Object
- PacklinkLite::Shipment
- Defined in:
- lib/packlink_lite/shipment.rb
Constant Summary collapse
- PATH =
'shipments'
Class Method Summary collapse
Class Method Details
.all(params = {}, options = {}) ⇒ Object
5 6 7 |
# File 'lib/packlink_lite/shipment.rb', line 5 def self.all(params = {}, = {}) PacklinkLite.client.get(PATH, params, ) end |
.find(reference, options = {}) ⇒ Object
9 10 11 |
# File 'lib/packlink_lite/shipment.rb', line 9 def self.find(reference, = {}) PacklinkLite.client.get(PATH + '/' + reference, {}, ) end |