Class: EventSorcerer::Event
- Inherits:
-
Struct
- Object
- Struct
- EventSorcerer::Event
- Defined in:
- lib/event_sorcerer/event.rb
Overview
Public: Simple value object representing an event.
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#details ⇒ Object
Returns the value of attribute details.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at
3 4 5 |
# File 'lib/event_sorcerer/event.rb', line 3 def created_at @created_at end |
#details ⇒ Object
Returns the value of attribute details
3 4 5 |
# File 'lib/event_sorcerer/event.rb', line 3 def details @details end |
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/event_sorcerer/event.rb', line 3 def name @name end |