Sha256: b7e90b5766530e5c367949c665b2d4564ae426e6d96c78bd81200e79be54513f

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

module ShopifyAPI
  class FulfillmentRequest < Base
    init_prefix :order

    def order_id
      @prefix_options[:order_id]
    end

    def mark_as_failed
      load_attributes_from_response(
        put(:mark_as_failed, message: failure_message)
      )
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shopify_api-4.3.5 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-4.3.4 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-4.3.3 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-4.3.2 lib/shopify_api/resources/fulfillment_request.rb
shopify_api-4.3.1 lib/shopify_api/resources/fulfillment_request.rb