Method: Farcall::Endpoint#on_abort

Defined in:
lib/farcall/endpoint.rb

#on_abort(&proc) ⇒ Object

The provided block will be called if endpoint functioning will be aborted. The block should take |reason, exception| parameters - latter could be nil



55
56
57
# File 'lib/farcall/endpoint.rb', line 55

def on_abort &proc
  @abort_hadnler = proc
end