Class: MessageHeader
- Inherits:
-
AbstractResource
- Object
- AbstractResource
- MessageHeader
- Defined in:
- app/models/message_header.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.
Instance Method Summary collapse
Instance Attribute Details
#bcc ⇒ Object
Returns the value of attribute bcc.
5 6 7 |
# File 'app/models/message_header.rb', line 5 def bcc @bcc end |
#cc ⇒ Object
Returns the value of attribute cc.
5 6 7 |
# File 'app/models/message_header.rb', line 5 def cc @cc end |
#from ⇒ Object
Returns the value of attribute from.
5 6 7 |
# File 'app/models/message_header.rb', line 5 def from @from end |
Instance Method Details
#named_header(key, val) ⇒ Object
7 8 9 10 |
# File 'app/models/message_header.rb', line 7 def named_header key,val self.name=key self.value=val end |