Class: Msn::Message
- Inherits:
-
Object
- Object
- Msn::Message
- Defined in:
- lib/msn/message.rb
Overview
A message sent to a Messenger.
Instance Attribute Summary (collapse)
-
- (Object) display_name
Returns the value of attribute display_name.
-
- (Object) email
Returns the value of attribute email.
-
- (Object) text
Returns the value of attribute text.
Instance Method Summary (collapse)
-
- (Message) initialize(email, display_name, text)
constructor
:nodoc:.
Constructor Details
- (Message) initialize(email, display_name, text)
:nodoc:
8 9 10 11 12 |
# File 'lib/msn/message.rb', line 8 def initialize(email, display_name, text) @email = email @display_name = display_name @text = text end |
Instance Attribute Details
- (Object) display_name
Returns the value of attribute display_name
4 5 6 |
# File 'lib/msn/message.rb', line 4 def display_name @display_name end |
- (Object) email
Returns the value of attribute email
3 4 5 |
# File 'lib/msn/message.rb', line 3 def email @email end |
- (Object) text
Returns the value of attribute text
5 6 7 |
# File 'lib/msn/message.rb', line 5 def text @text end |