Class: Enlight::Models::Announcement

Inherits:
Model
  • Object
show all
Defined in:
lib/enlight/models/announcement.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#id

Method Summary

Methods inherited from Model

#initialize

Constructor Details

This class inherits a constructor from Enlight::Models::Model

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



6
7
8
# File 'lib/enlight/models/announcement.rb', line 6

def description
  @description
end

#expiresObject

Returns the value of attribute expires.



9
10
11
# File 'lib/enlight/models/announcement.rb', line 9

def expires
  @expires
end

#html_contentObject

Returns the value of attribute html_content.



7
8
9
# File 'lib/enlight/models/announcement.rb', line 7

def html_content
  @html_content
end

#startsObject

Returns the value of attribute starts.



8
9
10
# File 'lib/enlight/models/announcement.rb', line 8

def starts
  @starts
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/enlight/models/announcement.rb', line 4

def title
  @title
end

#urlObject

Returns the value of attribute url.



5
6
7
# File 'lib/enlight/models/announcement.rb', line 5

def url
  @url
end