Преглед изворни кода

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