Class: Glass::TimelineItem::MenuItems::Values
- Inherits:
-
Object
- Object
- Glass::TimelineItem::MenuItems::Values
- Defined in:
- lib/glass/timeline/timeline_item.rb
Constant Summary collapse
- DEFAULT =
"DEFAULT"- PENDING =
"PENDING"- CONFIRMED =
"CONFIRMED"
Instance Attribute Summary collapse
-
#displayName ⇒ Object
The name to display for the menu item.
-
#iconURL ⇒ Object
URL of an icon to display with the menu item.
-
#state ⇒ Object
The state that this value applies to.
Instance Attribute Details
#displayName ⇒ Object
The name to display for the menu item.
329 330 331 |
# File 'lib/glass/timeline/timeline_item.rb', line 329 def displayName @displayName end |
#iconURL ⇒ Object
URL of an icon to display with the menu item.
333 334 335 |
# File 'lib/glass/timeline/timeline_item.rb', line 333 def iconURL @iconURL end |
#state ⇒ Object
The state that this value applies to. Allowed values are:
DEFAULT - Default value shown when displayed in the list.
PENDING - Value shown when the has been selected by the user but can still be cancelled.
CONFIRMED - Value shown when the has been selected by the user and can no longer be cancelled.
339 340 341 |
# File 'lib/glass/timeline/timeline_item.rb', line 339 def state @state end |