Class: Protoboard::Adapters::BaseAdapter
- Inherits:
-
Object
- Object
- Protoboard::Adapters::BaseAdapter
- Defined in:
- lib/protoboard/adapters/base_adapter.rb
Overview
This class is responsible to encapsulate every action that are commom between all adapters
Direct Known Subclasses
Class Method Summary collapse
-
.execute_after_circuit_callbacks(circuit_execution) ⇒ Object
Manages the execution of the code intended to run after circuit execution.
-
.execute_before_circuit_callbacks(circuit_execution) ⇒ Object
Manages the execution of the code intended to run before circuit execution.
Class Method Details
.execute_after_circuit_callbacks(circuit_execution) ⇒ Object
Manages the execution of the code intended to run after circuit execution
18 19 20 21 |
# File 'lib/protoboard/adapters/base_adapter.rb', line 18 def execute_after_circuit_callbacks(circuit_execution) after_global_callback(circuit_execution) after_circuit_callback(circuit_execution) end |
.execute_before_circuit_callbacks(circuit_execution) ⇒ Object
Manages the execution of the code intended to run before circuit execution
11 12 13 14 |
# File 'lib/protoboard/adapters/base_adapter.rb', line 11 def execute_before_circuit_callbacks(circuit_execution) before_global_callback(circuit_execution) before_circuit_callback(circuit_execution) end |