Class: Glass::TimelineItem::MenuItems::Values

Inherits:
Object
  • Object
show all
Defined in:
lib/glass/timeline/timeline_item.rb

Constant Summary collapse

DEFAULT =
"DEFAULT"
PENDING =
"PENDING"
CONFIRMED =
"CONFIRMED"

Instance Attribute Summary collapse

Instance Attribute Details

#displayNameObject

The name to display for the menu item.



329
330
331
# File 'lib/glass/timeline/timeline_item.rb', line 329

def displayName
  @displayName
end

#iconURLObject

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

#stateObject

The state that this value applies to. Allowed values are:

DEFAULT - Default value shown when displayed in the menuItems list.
PENDING - Value shown when the menuItem has been selected by the user but can still be cancelled.
CONFIRMED - Value shown when the menuItem 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