Class: MessageHeader

Inherits:
AbstractResource
  • Object
show all
Defined in:
app/models/message_header.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bccObject

Returns the value of attribute bcc.



5
6
7
# File 'app/models/message_header.rb', line 5

def bcc
  @bcc
end

#ccObject

Returns the value of attribute cc.



5
6
7
# File 'app/models/message_header.rb', line 5

def cc
  @cc
end

#fromObject

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