Class: Wamp::Type::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/wamp/type/event.rb

Overview

Event Type

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args: [], kwargs: {}, details: {}) ⇒ Event

Returns a new instance of Event.



9
10
11
12
13
# File 'lib/wamp/type/event.rb', line 9

def initialize(args: [], kwargs: {}, details: {})
  @args = args
  @kwargs = kwargs
  @details = details
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



7
8
9
# File 'lib/wamp/type/event.rb', line 7

def args
  @args
end

#detailsObject (readonly)

Returns the value of attribute details.



7
8
9
# File 'lib/wamp/type/event.rb', line 7

def details
  @details
end

#kwargsObject (readonly)

Returns the value of attribute kwargs.



7
8
9
# File 'lib/wamp/type/event.rb', line 7

def kwargs
  @kwargs
end