Explorar el Código

simplify the :from part of the request

Peter Schröder hace 11 años
padre
commit
9f85324cea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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