Class: WampRails::Command::BaseCommand::CallbackArgs

Inherits:
Object
  • Object
show all
Defined in:
lib/wamp_rails/commands/base_command.rb

Overview

The callback object to place in the queue

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#detailsObject

Returns the value of attribute details.



8
9
10
# File 'lib/wamp_rails/commands/base_command.rb', line 8

def details
  @details
end

#errorObject

Returns the value of attribute error.



8
9
10
# File 'lib/wamp_rails/commands/base_command.rb', line 8

def error
  @error
end

#resultObject

Returns the value of attribute result.



8
9
10
# File 'lib/wamp_rails/commands/base_command.rb', line 8

def result
  @result
end