Class: EventSorcerer::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/event_sorcerer/event.rb

Overview

Public: Simple value object representing an event.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at



3
4
5
# File 'lib/event_sorcerer/event.rb', line 3

def created_at
  @created_at
end

#detailsObject

Returns the value of attribute details



3
4
5
# File 'lib/event_sorcerer/event.rb', line 3

def details
  @details
end

#nameObject

Returns the value of attribute name



3
4
5
# File 'lib/event_sorcerer/event.rb', line 3

def name
  @name
end