Class: Shortwave::Model::Shout
- Defined in:
- lib/shortwave/model/shout.rb
Overview
A shout message on Last.fm
Attributes
message
-
The message text
time
-
The time the message was written
Instance Method Summary collapse
-
#user ⇒ Object
The user who left the shout message.
Methods inherited from BaseModel
facade_name, identified_by, inherited, link_to, #session=, sharable, shoutable, taggable
Instance Method Details
#user ⇒ Object
The user who left the shout message
16 17 18 |
# File 'lib/shortwave/model/shout.rb', line 16 def user @user ||= @session.user.build(:name => ) end |