Class: Studio::LinkResolution::Outcome
- Inherits:
-
Struct
- Object
- Struct
- Studio::LinkResolution::Outcome
- Defined in:
- lib/studio/link_resolution.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#level ⇒ Object
Returns the value of attribute level.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
- #authenticate? ⇒ Boolean
- #continue? ⇒ Boolean
- #dead? ⇒ Boolean
-
#silent? ⇒ Boolean
A silent outcome shows the visitor nothing — the "no material difference" re-click.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
57 58 59 |
# File 'lib/studio/link_resolution.rb', line 57 def action @action end |
#destination ⇒ Object
Returns the value of attribute destination
57 58 59 |
# File 'lib/studio/link_resolution.rb', line 57 def destination @destination end |
#level ⇒ Object
Returns the value of attribute level
57 58 59 |
# File 'lib/studio/link_resolution.rb', line 57 def level @level end |
#message ⇒ Object
Returns the value of attribute message
57 58 59 |
# File 'lib/studio/link_resolution.rb', line 57 def @message end |
Instance Method Details
#authenticate? ⇒ Boolean
58 59 60 |
# File 'lib/studio/link_resolution.rb', line 58 def authenticate? action == :authenticate end |
#continue? ⇒ Boolean
62 63 64 |
# File 'lib/studio/link_resolution.rb', line 62 def continue? action == :continue end |
#dead? ⇒ Boolean
66 67 68 |
# File 'lib/studio/link_resolution.rb', line 66 def dead? action == :dead end |
#silent? ⇒ Boolean
A silent outcome shows the visitor nothing — the "no material difference" re-click.
72 73 74 |
# File 'lib/studio/link_resolution.rb', line 72 def silent? .nil? end |