Class: WampClient::CallResult
- Inherits:
-
Object
- Object
- WampClient::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.
77 78 79 80 |
# File 'lib/wamp_client/session.rb', line 77 def initialize(args=nil, kwargs=nil) self.args = args || [] self.kwargs = kwargs || {} end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
75 76 77 |
# File 'lib/wamp_client/session.rb', line 75 def args @args end |
#kwargs ⇒ Object
Returns the value of attribute kwargs.
75 76 77 |
# File 'lib/wamp_client/session.rb', line 75 def kwargs @kwargs end |