lib/pagarme/request.rb in pagarme-1.9.1 vs lib/pagarme/request.rb in pagarme-1.9.2

- old
+ new

@@ -36,11 +36,10 @@ :method => self.method, :url => PagarMe.full_api_url(self.path), :headers => self.headers, :open_timeout => 30, :payload => self.class.encode(parameters), - :timeout => 90, - :verify_ssl => false # TODO: change to verify SSL + :timeout => 90 }) rescue SocketError => e error = "Error connecting to server (#{e.message})." rescue NoMethodError => e if e.message =~ /\WRequestFailed\W/