Created
September 11, 2015 19:23
-
-
Save gmacdougall/5bec6c93392a58025f6d to your computer and use it in GitHub Desktop.
This file contains hidden or 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