浏览代码

Add options to RecurringApplicationCharge#activate

Denis Odorcic 14 年之前
父节点
当前提交
05af939fd0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/shopify_api.rb

+ 2 - 2
lib/shopify_api.rb

@@ -505,8 +505,8 @@ module ShopifyAPI
       load_attributes_from_response(self.destroy)
     end
     
-    def activate
-      load_attributes_from_response(post(:activate))
+    def activate(options = {})
+      load_attributes_from_response(post(:activate, options))
     end
   end