{"action":"closed","issue":{"url":"https://api.github.com/repos/Shopify/shopify_api/issues/316","repository_url":"https://api.github.com/repos/Shopify/shopify_api","labels_url":"https://api.github.com/repos/Shopify/shopify_api/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/shopify_api/issues/316/comments","events_url":"https://api.github.com/repos/Shopify/shopify_api/issues/316/events","html_url":"https://github.com/Shopify/shopify_api/issues/316","id":186292613,"number":316,"title":"Querying with params returns all","user":{"login":"goalaleo","id":3275302,"avatar_url":"https://avatars.githubusercontent.com/u/3275302?v=3","gravatar_id":"","url":"https://api.github.com/users/goalaleo","html_url":"https://github.com/goalaleo","followers_url":"https://api.github.com/users/goalaleo/followers","following_url":"https://api.github.com/users/goalaleo/following{/other_user}","gists_url":"https://api.github.com/users/goalaleo/gists{/gist_id}","starred_url":"https://api.github.com/users/goalaleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goalaleo/subscriptions","organizations_url":"https://api.github.com/users/goalaleo/orgs","repos_url":"https://api.github.com/users/goalaleo/repos","events_url":"https://api.github.com/users/goalaleo/events{/privacy}","received_events_url":"https://api.github.com/users/goalaleo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T14:09:47Z","updated_at":"2016-11-01T12:06:14Z","closed_at":"2016-11-01T12:06:14Z","body":"Hi,\r\n\r\nIs there a way to search/query e.g. customers, and only get 1 match is such exists?\r\nIf I do \r\n```\r\nShopifyAPI::Customer.find(:all, :params => {\"email\" => \"customer@email.com\").count\r\n=> 17\r\n```\r\nit just returns all customers... specifying limit parameter is not viable, because I just get the first customer in the response, and this isn't even the one I was looking for :) I also tried with `where`but no luck. I'm running RoR 5"}}
{"actor":{"display_login":"goalaleo"}}