Class: Tubeclip::Model::Message
- Defined in:
- lib/tubeclip/model/message.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#published ⇒ Object
readonly
Returns the value of attribute published.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
Methods inherited from Record
Constructor Details
This class inherits a constructor from Tubeclip::Record
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/tubeclip/model/message.rb', line 4 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/tubeclip/model/message.rb', line 4 def name @name end |
#published ⇒ Object (readonly)
Returns the value of attribute published.
4 5 6 |
# File 'lib/tubeclip/model/message.rb', line 4 def published @published end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
4 5 6 |
# File 'lib/tubeclip/model/message.rb', line 4 def summary @summary end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
4 5 6 |
# File 'lib/tubeclip/model/message.rb', line 4 def title @title end |
Instance Method Details
#content ⇒ Object
6 7 8 9 |
# File 'lib/tubeclip/model/message.rb', line 6 def content # This tag contains the same value as the <summary> tag. self.summary end |