Class: OpenLoam::Workflow::Transition
- Inherits:
-
Struct
- Object
- Struct
- OpenLoam::Workflow::Transition
- Defined in:
- lib/open_loam/workflow.rb
Overview
One declared move. from is a list because several states may share a
move (e.g. cancel from draft OR pending_approval); roles empty means
"not role-gated here" — the policy layer still gates the controller.
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#name ⇒ Object
Returns the value of attribute name.
-
#roles ⇒ Object
Returns the value of attribute roles.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
36 37 38 |
# File 'lib/open_loam/workflow.rb', line 36 def from @from end |
#name ⇒ Object
Returns the value of attribute name
36 37 38 |
# File 'lib/open_loam/workflow.rb', line 36 def name @name end |
#roles ⇒ Object
Returns the value of attribute roles
36 37 38 |
# File 'lib/open_loam/workflow.rb', line 36 def roles @roles end |
#to ⇒ Object
Returns the value of attribute to
36 37 38 |
# File 'lib/open_loam/workflow.rb', line 36 def to @to end |