Class: ShopifyAPI::Fulfillment

Inherits:
Base show all
Defined in:
lib/shopify_api/resources/fulfillment.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

#cancelObject



5
# File 'lib/shopify_api/resources/fulfillment.rb', line 5

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

#completeObject



6
# File 'lib/shopify_api/resources/fulfillment.rb', line 6

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