Class: Gmailish::Labeler
- Inherits:
-
Object
- Object
- Gmailish::Labeler
- Defined in:
- lib/gmailish/labeler.rb
Constant Summary collapse
- TRANSFERED =
'Transfered'
- ARCHIVE =
'[Gmail]/All Mail'
Instance Method Summary collapse
- #all_mail ⇒ Object
-
#initialize(account, uid) ⇒ Labeler
constructor
A new instance of Labeler.
- #transfered ⇒ Object
Constructor Details
#initialize(account, uid) ⇒ Labeler
Returns a new instance of Labeler.
6 7 8 9 |
# File 'lib/gmailish/labeler.rb', line 6 def initialize(account, uid) @account = account @uid = uid end |
Instance Method Details
#all_mail ⇒ Object
15 16 17 |
# File 'lib/gmailish/labeler.rb', line 15 def all_mail label(ARCHIVE) end |
#transfered ⇒ Object
11 12 13 |
# File 'lib/gmailish/labeler.rb', line 11 def transfered label(TRANSFERED) end |