Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
To help you debug your Judopay integration, you can attach a logger to the gem.
For example, to log debug messages to the file 'log.txt':
logger = Logger.new('log.txt') logger.level = Logger::DEBUG Judopay.configure do |config| config.logger = logger end
If using Ruby on Rails, the built-in logger can write to your existing application log file:
Judopay.configure do |config| config.logger = Rails.logger end