Module: AfterCommit::ModelMethods
- Defined in:
- lib/versions/after_commit.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
58 59 60 |
# File 'lib/versions/after_commit.rb', line 58 def self.included(base) base.extend ClassMethods end |
Instance Method Details
#after_commit(&block) ⇒ Object
62 63 64 |
# File 'lib/versions/after_commit.rb', line 62 def after_commit(&block) self.class.connection.after_commit(&block) end |