Method: HTTParty::ClassMethods#debug_output
- Defined in:
- lib/httparty.rb
#debug_output(stream = $stderr) ⇒ Object
Set an output stream for debugging, defaults to $stderr. The output stream is passed on to Net::HTTP#set_debug_output.
class Foo
include HTTParty
debug_output $stderr
end
221 222 223 |
# File 'lib/httparty.rb', line 221 def debug_output(stream = $stderr) [:debug_output] = stream end |