Class: Enlight::Models::Announcement
- Defined in:
- lib/enlight/models/announcement.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#expires ⇒ Object
Returns the value of attribute expires.
-
#html_content ⇒ Object
Returns the value of attribute html_content.
-
#starts ⇒ Object
Returns the value of attribute starts.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Enlight::Models::Model
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/enlight/models/announcement.rb', line 6 def description @description end |
#expires ⇒ Object
Returns the value of attribute expires.
9 10 11 |
# File 'lib/enlight/models/announcement.rb', line 9 def expires @expires end |
#html_content ⇒ Object
Returns the value of attribute html_content.
7 8 9 |
# File 'lib/enlight/models/announcement.rb', line 7 def html_content @html_content end |
#starts ⇒ Object
Returns the value of attribute starts.
8 9 10 |
# File 'lib/enlight/models/announcement.rb', line 8 def starts @starts end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/enlight/models/announcement.rb', line 4 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/enlight/models/announcement.rb', line 5 def url @url end |