Class: Ovto::Actions
- Inherits:
-
Object
- Object
- Ovto::Actions
- Defined in:
- lib/ovto/actions.rb
Overview
Base class for ovto actions.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#wired_actions ⇒ Object
writeonly
WiredActions must be set after initialization (this cannot be an argument of #initialize because Actions and WiredActions have references to each other).
Instance Method Summary collapse
Instance Attribute Details
#wired_actions=(value) ⇒ Object (writeonly)
WiredActions must be set after initialization (this cannot be an argument of #initialize because Actions and WiredActions have references to each other)
7 8 9 |
# File 'lib/ovto/actions.rb', line 7 def wired_actions=(value) @wired_actions = value end |
Instance Method Details
#actions ⇒ Object
9 10 11 |
# File 'lib/ovto/actions.rb', line 9 def actions @wired_actions end |
#middleware_name ⇒ Object
17 18 19 |
# File 'lib/ovto/actions.rb', line 17 def middleware_name WiredActionSet::I_AM_APP_NOT_A_MIDDLEWARE end |
#middleware_path ⇒ Object
21 22 23 |
# File 'lib/ovto/actions.rb', line 21 def middleware_path [] end |
#state ⇒ Object
13 14 15 |
# File 'lib/ovto/actions.rb', line 13 def state @wired_actions._app.state end |