Sfoglia il codice sorgente

Revert "Add options to RecurringApplicationCharge#activate"

No longer necessary due to API rejigging
Edward Ocampo-Gooding 13 anni fa
parent
commit
e143d81276
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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(options = {})
-      load_attributes_from_response(post(:activate, options))
+    def activate
+      load_attributes_from_response(post(:activate))
     end
   end