Class: Gmailish::Mover
- Inherits:
-
Object
- Object
- Gmailish::Mover
- Defined in:
- lib/gmailish/mover.rb
Instance Method Summary collapse
- #archive ⇒ Object
-
#initialize(account, uid) ⇒ Mover
constructor
A new instance of Mover.
Constructor Details
#initialize(account, uid) ⇒ Mover
Returns a new instance of Mover.
3 4 5 6 |
# File 'lib/gmailish/mover.rb', line 3 def initialize(account, uid) @account = account @uid = uid end |
Instance Method Details
#archive ⇒ Object
8 9 10 11 |
# File 'lib/gmailish/mover.rb', line 8 def archive all_mail delete end |