Class Redwood::LabelManager
In: lib/sup/label.rb
Parent: Object

Methods

Included Modules

Singleton

Constants

RESERVED_LABELS = [ :starred, :spam, :draft, :unread, :killed, :sent, :deleted, :inbox, :attachment ]   labels that have special semantics. user will be unable to add/remove these via normal label mechanisms.
HIDDEN_RESERVED_LABELS = [ :starred, :unread, :attachment ]   labels that will typically be hidden from the user

Public Class methods

Public Instance methods

all labels user-defined and system, ordered nicely and converted to pretty strings. use label_for to recover the original label.

reverse the label->string mapping, for convenience!

all user-defined labels, ordered nicely and converted to pretty strings. use label_for to recover the original label.

[Validate]