Class: Conversation
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Conversation
- Defined in:
- lib/generators/private_mail/install/models/conversation.rb
Instance Attribute Summary collapse
-
#last_message ⇒ Object
readonly
last message in the conversation.
-
#last_sender ⇒ Object
readonly
sender of the last message.
-
#original_message ⇒ Object
readonly
first message of the conversation.
-
#originator ⇒ Object
readonly
originator of the conversation.
-
#users ⇒ Object
readonly
all users involved in the conversation.
Instance Attribute Details
#last_message ⇒ Object (readonly)
last message in the conversation.
34 35 36 |
# File 'lib/generators/private_mail/install/models/conversation.rb', line 34 def @last_message end |
#last_sender ⇒ Object (readonly)
sender of the last message.
28 29 30 |
# File 'lib/generators/private_mail/install/models/conversation.rb', line 28 def last_sender @last_sender end |
#original_message ⇒ Object (readonly)
first message of the conversation.
22 23 24 |
# File 'lib/generators/private_mail/install/models/conversation.rb', line 22 def @original_message end |
#originator ⇒ Object (readonly)
originator of the conversation.
16 17 18 |
# File 'lib/generators/private_mail/install/models/conversation.rb', line 16 def originator @originator end |
#users ⇒ Object (readonly)
all users involved in the conversation.
40 41 42 |
# File 'lib/generators/private_mail/install/models/conversation.rb', line 40 def users @users end |