Explorar o código

Add options to RecurringApplicationCharge#activate

Denis Odorcic %!s(int64=14) %!d(string=hai) anos
pai
achega
05af939fd0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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