Module: Solid::Process::Callbacks
- Included in:
- Solid::Process
- Defined in:
- lib/solid/process/callbacks.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(subclass) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/solid/process/callbacks.rb', line 5 def self.included(subclass) subclass.include ActiveSupport::Callbacks subclass.define_callbacks(:call, :success, :failure) subclass.extend ClassMethods end |