Class: Caliper::Events::ReadingEvent

Inherits:
Event
  • Object
show all
Includes:
EventContext
Defined in:
lib/caliper/events/reading_event.rb

Instance Attribute Summary

Attributes included from EventContext

#edApp, #federatedSession, #generated, #group, #membership, #target

Attributes inherited from Event

#action, #actor, #context, #eventTime, #object, #type

Instance Method Summary collapse

Methods included from Jsonable

#eql?, #from_json, included, #to_json

Constructor Details

#initializeReadingEvent

Returns a new instance of ReadingEvent.



30
31
32
33
34
35
36
37
38
39
# File 'lib/caliper/events/reading_event.rb', line 30

def initialize
  super
  @type = Caliper::Events::EventType::READING
  @target = nil
  @generated = nil
  @edApp = nil
  @group = nil
  @membership = nil
  @federatedSession = nil
end