Sha256: c7654b142d7e2772becf784cd41ada736eadb0cd717f10bc997fd8a40397f65f
Contents?: true
Size: 432 Bytes
Versions: 36
Compression:
Stored size: 432 Bytes
Contents
module ShopifyAPI class DraftOrder < Base include Metafields def send_invoice(draft_order_invoice = ShopifyAPI::DraftOrderInvoice.new) resource = post(:send_invoice, {}, draft_order_invoice.encode) ShopifyAPI::DraftOrderInvoice.new(ShopifyAPI::DraftOrder.format.decode(resource.body)) end def complete(options = {}) load_attributes_from_response(put(:complete, options, nil)) end end end
Version data entries
36 entries across 36 versions & 1 rubygems