Class: Caliper::Events::NavigationEvent
- Includes:
- EventContext
- Defined in:
- lib/caliper/events/navigation_event.rb
Instance Attribute Summary collapse
-
#navigatedFrom ⇒ Object
Returns the value of attribute navigatedFrom.
Attributes included from EventContext
#edApp, #federatedSession, #generated, #group, #membership, #target
Attributes inherited from Event
#action, #actor, #context, #eventTime, #object, #type
Instance Method Summary collapse
-
#initialize ⇒ NavigationEvent
constructor
A new instance of NavigationEvent.
Methods included from Jsonable
#eql?, #from_json, included, #to_json
Constructor Details
#initialize ⇒ NavigationEvent
Returns a new instance of NavigationEvent.
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/caliper/events/navigation_event.rb', line 33 def initialize super @type = Caliper::Events::EventType::NAVIGATION @action = Caliper::Actions::NavigationActions::NAVIGATED_TO @navigatedFrom = nil @target = nil @generated = nil @edApp = nil @group = nil @membership = nil @federatedSession = nil end |
Instance Attribute Details
#navigatedFrom ⇒ Object
Returns the value of attribute navigatedFrom.
31 32 33 |
# File 'lib/caliper/events/navigation_event.rb', line 31 def navigatedFrom @navigatedFrom end |