lib/mtgox/connection.rb in mtgox-0.8.0 vs lib/mtgox/connection.rb in mtgox-0.8.1

- old
+ new

@@ -10,15 +10,14 @@ module Connection private def connection options = { - :headers => { - :accept => 'application/json', - :user_agent => "mtgox gem #{MtGox::Version}", + headers: { + accept: 'application/json', + user_agent: "mtgox gem #{MtGox::Version}", }, - :ssl => {:verify => false}, - :url => 'https://mtgox.com', + url: 'https://mtgox.com', } Faraday.new(options) do |connection| connection.request :url_encoded connection.use Faraday::Response::RaiseError