Class: Gmailish::Mover

Inherits:
Object
  • Object
show all
Defined in:
lib/gmailish/mover.rb

Instance Method Summary collapse

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(, uid)
  @account = 
  @uid = uid
end

Instance Method Details

#archiveObject



8
9
10
11
# File 'lib/gmailish/mover.rb', line 8

def archive
  all_mail
  delete
end