Class: ResponseCallback::Fail

Inherits:
Object
  • Object
show all
Includes:
ResponseCallbackInitializer
Defined in:
lib/response_callback.rb

Instance Method Summary collapse

Methods included from ResponseCallbackInitializer

#initialize

Instance Method Details

#on_fail {|@var| ... } ⇒ Object

Yields:

  • (@var)


29
30
31
# File 'lib/response_callback.rb', line 29

def on_fail
  yield @var
end

#on_successObject



25
26
27
# File 'lib/response_callback.rb', line 25

def on_success
  return
end