Class: Devmail::Message
- Inherits:
-
Struct
- Object
- Struct
- Devmail::Message
- Defined in:
- lib/devmail/message.rb
Instance Attribute Summary collapse
-
#bcc ⇒ Object
Returns the value of attribute bcc.
-
#cc ⇒ Object
Returns the value of attribute cc.
-
#from ⇒ Object
Returns the value of attribute from.
-
#html_part ⇒ Object
Returns the value of attribute html_part.
-
#mailer_class ⇒ Object
Returns the value of attribute mailer_class.
-
#multipart ⇒ Object
Returns the value of attribute multipart.
-
#reply_to ⇒ Object
Returns the value of attribute reply_to.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#text_part ⇒ Object
Returns the value of attribute text_part.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#bcc ⇒ Object
Returns the value of attribute bcc
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def bcc @bcc end |
#cc ⇒ Object
Returns the value of attribute cc
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def cc @cc end |
#from ⇒ Object
Returns the value of attribute from
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def from @from end |
#html_part ⇒ Object
Returns the value of attribute html_part
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def html_part @html_part end |
#mailer_class ⇒ Object
Returns the value of attribute mailer_class
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def mailer_class @mailer_class end |
#multipart ⇒ Object
Returns the value of attribute multipart
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def multipart @multipart end |
#reply_to ⇒ Object
Returns the value of attribute reply_to
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def reply_to @reply_to end |
#sender ⇒ Object
Returns the value of attribute sender
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def sender @sender end |
#subject ⇒ Object
Returns the value of attribute subject
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def subject @subject end |
#text_part ⇒ Object
Returns the value of attribute text_part
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def text_part @text_part end |
#to ⇒ Object
Returns the value of attribute to
2 3 4 |
# File 'lib/devmail/message.rb', line 2 def to @to end |
Instance Method Details
#summary ⇒ Object
5 6 7 |
# File 'lib/devmail/message.rb', line 5 def summary "#{from.join(', ')} to #{to.join(', ')}: #{subject}" end |