瀏覽代碼

Remove non-existent #share and #unshare from Product

Denis Odorcic 13 年之前
父節點
當前提交
6555983f02
共有 1 個文件被更改,包括 0 次插入5 次删除
  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)