Browse Source

Add complete action for Fulfillment endpoint

Maarten van Grootel 11 years ago
parent
commit
0e75538f3d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/shopify_api/resources/fulfillment.rb

+ 1 - 0
lib/shopify_api/resources/fulfillment.rb

@@ -3,5 +3,6 @@ module ShopifyAPI
     self.prefix = "/admin/orders/:order_id/"
 
     def cancel; load_attributes_from_response(post(:cancel, {}, only_id)); end
+    def complete; load_attributes_from_response(post(:complete, {}, only_id)); end
   end
 end