Sha256: ca45ed6b3bc738fa5d5c56e919a2e0ad6e91bf43511f567ae0f82d9a2ead673a

Contents?: true

Size: 323 Bytes

Versions: 37

Compression:

Stored size: 323 Bytes

Contents

module ShopifyAPI
  class FulfillmentRequest < Base
    init_prefix :order

    def order_id
      @prefix_options[:order_id]
    end

    def mark_as_failed
      options = {}
      options[:message] = failure_message if failure_message
      load_attributes_from_response(put(:mark_as_failed, options))
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
shopify_api-9.2.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-9.1.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-9.0.4 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-9.0.3 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-9.0.2 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-9.0.1 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-9.0.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-8.1.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-8.0.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-7.1.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-7.0.2 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-7.0.1 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-7.0.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-6.0.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-5.2.4 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-5.2.3 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-5.2.2 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-5.2.1 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-5.2.0 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-5.1.0 lib/shopify_api/resources/fulfillment_request.rb