Skip to content

Instantly share code, notes, and snippets.

@gmacdougall
Created September 11, 2015 19:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gmacdougall/5bec6c93392a58025f6d to your computer and use it in GitHub Desktop.
Save gmacdougall/5bec6c93392a58025f6d to your computer and use it in GitHub Desktop.
# config/initializers/reimbursement_hook.rb
Rails.application.config.to_prepare do
Spree::Reimbursement.reimbursement_success_hooks = [
->(reimbursement) { puts reimbursement }
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment