Module: LightServiceExt::ApplicationAction::LifecycleMethods
- Defined in:
- lib/light-service-ext/application_action.rb
Instance Attribute Summary collapse
- #after_execute_block ⇒ Object
- #after_failure_block ⇒ Object
- #after_success_block ⇒ Object
- #before_execute_block ⇒ Object
Instance Attribute Details
#after_execute_block ⇒ Object
21 22 23 |
# File 'lib/light-service-ext/application_action.rb', line 21 def after_execute_block @after_execute_block ||= ->(_context) {} end |
#after_failure_block ⇒ Object
29 30 31 |
# File 'lib/light-service-ext/application_action.rb', line 29 def after_failure_block @after_failure_block ||= ->(_context) {} end |
#after_success_block ⇒ Object
25 26 27 |
# File 'lib/light-service-ext/application_action.rb', line 25 def after_success_block @after_success_block ||= ->(_context) {} end |
#before_execute_block ⇒ Object
17 18 19 |
# File 'lib/light-service-ext/application_action.rb', line 17 def before_execute_block @before_execute_block ||= ->(_context) {} end |