Class: Arena::Story
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#bulletin_id ⇒ Object
readonly
Returns the value of attribute bulletin_id.
-
#connector ⇒ Object
readonly
Returns the value of attribute connector.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes inherited from Base
Instance Method Summary collapse
Methods included from Creatable
Methods inherited from Base
Constructor Details
This class inherits a constructor from Arena::Base
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
14 15 16 |
# File 'lib/arena/story.rb', line 14 def action @action end |
#bulletin_id ⇒ Object (readonly)
Returns the value of attribute bulletin_id.
14 15 16 |
# File 'lib/arena/story.rb', line 14 def bulletin_id @bulletin_id end |
#connector ⇒ Object (readonly)
Returns the value of attribute connector.
14 15 16 |
# File 'lib/arena/story.rb', line 14 def connector @connector end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
14 15 16 |
# File 'lib/arena/story.rb', line 14 def created_at @created_at end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
14 15 16 |
# File 'lib/arena/story.rb', line 14 def id @id end |
Instance Method Details
#user ⇒ Object
16 17 18 |
# File 'lib/arena/story.rb', line 16 def user @user ||= Arena::User.new(@attrs['user']) end |