Forked from gmacdougall/reimbursement_hook.rb
Last active
September 11, 2015 19:26
-
-
Save davekiss/a188cf7ca8ca271e29e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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