bigcommerce-api-ruby
bigcommerce-api-ruby copied to clipboard
Add Option for Logging Requests and Responses
Something like :debug => true or :debug => filehandle which would add the correct Faraday config:
Faraday.new do |c|
# Etc...
c.response :logger, Logger.new(io), { headers: true, bodies: true }
end