Class: Wamp::Type::Result

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

Overview

Result Type

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Result.



9
10
11
12
13
# File 'lib/wamp/type/result.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/result.rb', line 7

def args
  @args
end

#detailsObject (readonly)

Returns the value of attribute details.



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

def details
  @details
end

#kwargsObject (readonly)

Returns the value of attribute kwargs.



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

def kwargs
  @kwargs
end