Ver Fonte

Remove non-existent #share and #unshare from Product

Denis Odorcic há 13 anos atrás
pai
commit
6555983f02
1 ficheiros alterados com 0 adições e 5 exclusões
  1. 0 5
      lib/shopify_api/resources/product.rb

+ 0 - 5
lib/shopify_api/resources/product.rb

@@ -3,11 +3,6 @@ module ShopifyAPI
     include Events
     include Metafields
 
-    # Share all items of this store with the 
-    # shopify marketplace
-    def self.share; post :share;  end    
-    def self.unshare; delete :share; end
-
     # compute the price range
     def price_range
       prices = variants.collect(&:price)