소스 검색

simplify the :from part of the request

Peter Schröder 11 년 전
부모
커밋
9f85324cea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/shopify_api/resources/customer.rb

+ 1 - 1
lib/shopify_api/resources/customer.rb

@@ -7,7 +7,7 @@ module ShopifyAPI
     end
 
     def self.search(params)
-      find(:all, from: '/admin/customers/search.json', params: params)
+      find(:all, from: :search, params: params)
     end
   end
 end