Skip to content

Instantly share code, notes, and snippets.

@kangguru
Created September 13, 2013 13:14
Show Gist options
  • Save kangguru/6550542 to your computer and use it in GitHub Desktop.
Save kangguru/6550542 to your computer and use it in GitHub Desktop.
ActiveSupport::Notifications.subscribe("skrill_psp:request") do |*args|
event = ActiveSupport::Notifications::Event.new(*args)
Rails.logger.info "[PUMA payload] #{event.payload[:payload]}"
Rails.logger.info "[PUMA response] #{event.payload[:response]}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment