Prechádzať zdrojové kódy

Remove non-existent #share and #unshare from Product

Denis Odorcic 13 rokov pred
rodič
commit
6555983f02
1 zmenil súbory, kde vykonal 0 pridanie a 5 odobranie
  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)