Module: AfterCommitExceptionNotification
- Defined in:
- lib/after_commit_exception_notification.rb,
lib/after_commit_exception_notification/version.rb
Defined Under Namespace
Modules: CommittedWithNotification
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
Class Method Details
.callback(exception = nil, &block) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/after_commit_exception_notification.rb', line 4 def self.callback(exception = nil, &block) if block @block = block else @block.call(exception) end end |