Method: CoreLibrary::ApiCall#update_http_callback

Defined in:
lib/apimatic-core/api_call.rb

#update_http_callback(callable) ⇒ Object

Registers request and response with the provided http_callback

Parameters:

  • callable (Callable)

    The callable to be called for registering into the HttpCallback instance.



83
84
85
# File 'lib/apimatic-core/api_call.rb', line 83

def update_http_callback(callable)
  callable.call
end