Method: Gmail::Message#move_to
- Defined in:
- lib/gmail/message.rb
#move_to(name) ⇒ Object
We’re not sure of any ‘labels’ except the ‘mailbox’ we’re in at the moment. Research whether we can find flags that tell which other labels this email is a part of. def remove_label(name) end
78 79 80 |
# File 'lib/gmail/message.rb', line 78 def move_to(name) label(name) && delete! end |