Sha256: b3cfba99db439a8f4e2bf33befa981166107381bbb7a8f2c6cbfdf0f2e91664a

Contents?: true

Size: 375 Bytes

Versions: 38

Compression:

Stored size: 375 Bytes

Contents

module ShopifyAPI
  class Fulfillment < Base
    init_prefix :order

    def order_id
      @prefix_options[:order_id]
    end

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
shopify_api-8.1.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-8.0.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-7.1.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-7.0.2 lib/shopify_api/resources/fulfillment.rb
shopify_api-7.0.1 lib/shopify_api/resources/fulfillment.rb
shopify_api-7.0.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-6.0.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.2.4 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.2.3 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.2.2 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.2.1 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.2.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.1.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-5.0.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-4.13.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-4.12.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-4.11.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-4.10.0 lib/shopify_api/resources/fulfillment.rb
shopify_api-4.9.1 lib/shopify_api/resources/fulfillment.rb
shopify_api-4.9.0 lib/shopify_api/resources/fulfillment.rb