Class: TokenOfFire::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/token_of_fire/event_bus.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/token_of_fire/event_bus.rb', line 4

def name
  @name
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



4
5
6
# File 'lib/token_of_fire/event_bus.rb', line 4

def payload
  @payload
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



4
5
6
# File 'lib/token_of_fire/event_bus.rb', line 4

def scope
  @scope
end