Class: Synapse::Command::VoidCallback

Inherits:
CommandCallback show all
Defined in:
lib/synapse/command/callbacks/void.rb

Overview

Implementation of a command callback that does nothing

Instance Method Summary collapse

Instance Method Details

#on_failure(exception) ⇒ undefined

Parameters:

  • exception (Exception)

    The cause of the failure

Returns:

  • (undefined)


11
# File 'lib/synapse/command/callbacks/void.rb', line 11

def on_failure(exception); end

#on_success(result) ⇒ undefined

Parameters:

  • result (Object)

    The result from the command handler

Returns:

  • (undefined)


7
# File 'lib/synapse/command/callbacks/void.rb', line 7

def on_success(result); end