lib/wordnik/request.rb in wordnik-4.10 vs lib/wordnik/request.rb in wordnik-4.11
- old
+ new
@@ -151,10 +151,10 @@
request.proxy = Wordnik.configuration.proxy
request.proxy_username = Wordnik.configuration.proxy_username if Wordnik.configuration.proxy_username.present?
request.proxy_password = Wordnik.configuration.proxy_password if Wordnik.configuration.proxy_password.present?
end
- Wordnik.logger.debug "\n #{self.http_method.to_s.upcase} #{u}\n body: #{self.outgoing_body}\n headers: #{request.headers}\n\n"
+ Wordnik.logger.debug "\n #{self.http_method.to_s.upcase} #{u}\n body: #{self.outgoing_body}\n\n"
request.body = self.outgoing_body unless self.http_method.to_sym == :get
# Execute the request — blocking call here.
Typhoeus::Hydra.hydra.queue request