Class: Wamp::Client::CallResult
- Inherits:
-
Object
- Object
- Wamp::Client::CallResult
- Defined in:
- lib/wamp/client/session.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#kwargs ⇒ Object
Returns the value of attribute kwargs.
Instance Method Summary collapse
-
#initialize(args = nil, kwargs = nil) ⇒ CallResult
constructor
A new instance of CallResult.
Constructor Details
#initialize(args = nil, kwargs = nil) ⇒ CallResult
Returns a new instance of CallResult.
98 99 100 101 |
# File 'lib/wamp/client/session.rb', line 98 def initialize(args=nil, kwargs=nil) self.args = args || [] self.kwargs = kwargs || {} end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
96 97 98 |
# File 'lib/wamp/client/session.rb', line 96 def args @args end |
#kwargs ⇒ Object
Returns the value of attribute kwargs.
96 97 98 |
# File 'lib/wamp/client/session.rb', line 96 def kwargs @kwargs end |