Class: ShopifyAPI::FulfillmentRequest

Inherits:
Base show all
Defined in:
lib/shopify_api/resources/fulfillment_request.rb

Instance Method Summary collapse

Methods inherited from Base

activate_session, #as_json, clear_session, #encode, #headers, init_prefix, init_prefix_explicit, #persisted?

Methods included from Countable

#count

Methods inherited from ActiveResource::Base

delete, headers

Instance Method Details

#mark_as_failedObject



9
10
11
12
13
# File 'lib/shopify_api/resources/fulfillment_request.rb', line 9

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

#order_idObject



5
6
7
# File 'lib/shopify_api/resources/fulfillment_request.rb', line 5

def order_id
  @prefix_options[:order_id]
end