Class: Veeqo::Shipment

Inherits:
Base
  • Object
show all
Includes:
Actions::Delete
Defined in:
lib/veeqo/shipment.rb

Instance Method Summary collapse

Methods included from Actions::Delete

#delete

Methods inherited from Base

method_missing

Instance Method Details

#create(order_id:, allocation_id:, shipment:) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/veeqo/shipment.rb', line 5

def create(order_id:, allocation_id:, shipment:)
  create_resource(
    order_id: order_id,
    allocation_id: allocation_id,
    shipment: reorganize_shipment(shipment),
  )
end