Class: KirguduBase::StickyNotification
- Inherits:
-
Object
- Object
- KirguduBase::StickyNotification
- Defined in:
- app/models/kirgudu_base/sticky_notification.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ StickyNotification
constructor
A new instance of StickyNotification.
Constructor Details
#initialize(options = {}) ⇒ StickyNotification
Returns a new instance of StickyNotification.
8 9 10 11 12 |
# File 'app/models/kirgudu_base/sticky_notification.rb', line 8 def initialize( = {}) ||={} self.title = [:title] self. = [:message] end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'app/models/kirgudu_base/sticky_notification.rb', line 5 def end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'app/models/kirgudu_base/sticky_notification.rb', line 4 def title @title end |