Class: AffirmIt::PraiseEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/affirmit/event/praiseevent.rb

Constant Summary

Constants inherited from Event

Event::EVENT_TYPE_DESCRIPTIONS

Instance Attribute Summary collapse

Attributes inherited from Event

#type

Instance Method Summary collapse

Methods inherited from Event

#description

Constructor Details

#initialize(type, message) ⇒ PraiseEvent

Returns a new instance of PraiseEvent.



7
8
9
10
# File 'lib/affirmit/event/praiseevent.rb', line 7

def initialize type, message
  super type
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



5
6
7
# File 'lib/affirmit/event/praiseevent.rb', line 5

def message
  @message
end