Class: WampRails::Command::BaseCommand::CallbackArgs
- Inherits:
-
Object
- Object
- WampRails::Command::BaseCommand::CallbackArgs
- Defined in:
- lib/wamp_rails/commands/base_command.rb
Overview
The callback object to place in the queue
Instance Attribute Summary collapse
-
#details ⇒ Object
Returns the value of attribute details.
-
#error ⇒ Object
Returns the value of attribute error.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result, error, details) ⇒ CallbackArgs
constructor
A new instance of CallbackArgs.
Constructor Details
#initialize(result, error, details) ⇒ CallbackArgs
Returns a new instance of CallbackArgs.
9 10 11 12 13 |
# File 'lib/wamp_rails/commands/base_command.rb', line 9 def initialize(result, error, details) self.result = result self.error = error self.details = details end |
Instance Attribute Details
#details ⇒ Object
Returns the value of attribute details.
8 9 10 |
# File 'lib/wamp_rails/commands/base_command.rb', line 8 def details @details end |
#error ⇒ Object
Returns the value of attribute error.
8 9 10 |
# File 'lib/wamp_rails/commands/base_command.rb', line 8 def error @error end |
#result ⇒ Object
Returns the value of attribute result.
8 9 10 |
# File 'lib/wamp_rails/commands/base_command.rb', line 8 def result @result end |