Class: Gmailish::Message

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

Constant Summary collapse

RFC =
'RFC822'

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account, uid) ⇒ Message

Returns a new instance of Message.



5
6
7
8
# File 'lib/gmailish/message.rb', line 5

def initialize(, uid)
  @account = 
  @uid = uid
end

Class Method Details

.process(account, uid) ⇒ Object



10
11
12
# File 'lib/gmailish/message.rb', line 10

def self.process(, uid)
  new(, uid).process
end

Instance Method Details

#processObject



14
15
16
17
18
# File 'lib/gmailish/message.rb', line 14

def process
  message
  actions
  message
end