Class: PacklinkLite::Order

Inherits:
Object
  • Object
show all
Defined in:
lib/packlink_lite/order.rb

Constant Summary collapse

PATH =
'orders'

Class Method Summary collapse

Class Method Details

.create(payload, options = {}) ⇒ Object



5
6
7
# File 'lib/packlink_lite/order.rb', line 5

def self.create(payload, options = {})
  PacklinkLite.client.post(PATH, payload, options)
end