{"action":"created","issue":{"url":"https://api.github.com/repos/Shopify/ssllabs.rb/issues/2","labels_url":"https://api.github.com/repos/Shopify/ssllabs.rb/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/ssllabs.rb/issues/2/comments","events_url":"https://api.github.com/repos/Shopify/ssllabs.rb/issues/2/events","html_url":"https://github.com/Shopify/ssllabs.rb/issues/2","id":71852089,"number":2,"title":"undefined method to_query ","user":{"login":"SandeepElgbl","id":11755453,"avatar_url":"https://avatars.githubusercontent.com/u/11755453?v=3","gravatar_id":"","url":"https://api.github.com/users/SandeepElgbl","html_url":"https://github.com/SandeepElgbl","followers_url":"https://api.github.com/users/SandeepElgbl/followers","following_url":"https://api.github.com/users/SandeepElgbl/following{/other_user}","gists_url":"https://api.github.com/users/SandeepElgbl/gists{/gist_id}","starred_url":"https://api.github.com/users/SandeepElgbl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SandeepElgbl/subscriptions","organizations_url":"https://api.github.com/users/SandeepElgbl/orgs","repos_url":"https://api.github.com/users/SandeepElgbl/repos","events_url":"https://api.github.com/users/SandeepElgbl/events{/privacy}","received_events_url":"https://api.github.com/users/SandeepElgbl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-29T11:37:31Z","updated_at":"2015-06-08T17:32:05Z","closed_at":"2015-05-14T17:53:36Z","body":"Please find the stacktrace\r\n```\r\n~/.rvm/gems/ruby-2.1.6/bundler/gems/ssllabs.rb-51c13d38d913/lib/ssllabs/api.rb:21:in `request': undefined method `to_query' for {}:Hash (NoMethodError)\r\n~/.rvm/gems/ruby-2.1.6/bundler/gems/ssllabs.rb-51c13d38d913/lib/ssllabs/api.rb:50:in `info'\r\n```\r\nOne possible solution is the params.collect as mentioned in the comments here\r\nhttp://stackoverflow.com/questions/4014180/exception-with-method-to-query-missing"},"comment":{"url":"https://api.github.com/repos/Shopify/ssllabs.rb/issues/comments/110084752","html_url":"https://github.com/Shopify/ssllabs.rb/issues/2#issuecomment-110084752","issue_url":"https://api.github.com/repos/Shopify/ssllabs.rb/issues/2","id":110084752,"user":{"login":"pjgranahan","id":2019304,"avatar_url":"https://avatars.githubusercontent.com/u/2019304?v=3","gravatar_id":"","url":"https://api.github.com/users/pjgranahan","html_url":"https://github.com/pjgranahan","followers_url":"https://api.github.com/users/pjgranahan/followers","following_url":"https://api.github.com/users/pjgranahan/following{/other_user}","gists_url":"https://api.github.com/users/pjgranahan/gists{/gist_id}","starred_url":"https://api.github.com/users/pjgranahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjgranahan/subscriptions","organizations_url":"https://api.github.com/users/pjgranahan/orgs","repos_url":"https://api.github.com/users/pjgranahan/repos","events_url":"https://api.github.com/users/pjgranahan/events{/privacy}","received_events_url":"https://api.github.com/users/pjgranahan/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T17:32:05Z","updated_at":"2015-06-08T17:32:05Z","body":"I'm running into this same issue while attempting to run the [example](https://github.com/Shopify/ssllabs.rb#use-it-as-a-gem) on the README. I'm running Ruby 2.0.0-p598."}}