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



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

def name
  @name
end

#payloadObject

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



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

def payload
  @payload
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



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

def scope
  @scope
end