I wanted to enable the debug_output for HTTParty (part of HTTMultiParty) but I have trouble doing so in my own code. In lib/greenhouse_io/api/client.rb there is the possibility to set debug_output $stdout (for example). I cannot do this in my own code, it seems to be limited to where include HTTMultiParty is specified. Do you plan on adding such debug option described above, because it would really help debugging a lot!
UPDATE: I've found a workaround that works for me, invoking: GreenhouseIo::Client.debug_output $stdout before instantiating Client.new seems to give me the desired behaviour.
I wanted to enable the
debug_output
forHTTParty
(part ofHTTMultiParty
) but I have trouble doing so in my own code. Inlib/greenhouse_io/api/client.rb
there is the possibility to setdebug_output $stdout
(for example). I cannot do this in my own code, it seems to be limited to whereinclude HTTMultiParty
is specified. Do you plan on adding such debug option described above, because it would really help debugging a lot!UPDATE: I've found a workaround that works for me, invoking:
GreenhouseIo::Client.debug_output $stdout
before instantiatingClient.new
seems to give me the desired behaviour.