Sha256: d3c83c814ef6b721b7f45af76d727a6b9ccf747880a4bdf283a2a6ceaa62dea4

Contents?: true

Size: 263 Bytes

Versions: 3

Compression:

Stored size: 263 Bytes

Contents

module ShopifyAPI
  class Fulfillment < Base
    self.prefix = "/admin/orders/:order_id/"

    def cancel; load_attributes_from_response(post(:cancel, {}, only_id)); end
    def complete; load_attributes_from_response(post(:complete, {}, only_id)); end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopify_api-3.1.6 lib/shopify_api/resources/fulfillment.rb
shopify_api-3.1.5 lib/shopify_api/resources/fulfillment.rb
shopify_api-3.1.3 lib/shopify_api/resources/fulfillment.rb