Class: Basecamp::NoopHooks
- Inherits:
-
Object
- Object
- Basecamp::NoopHooks
- Includes:
- Hooks
- Defined in:
- lib/basecamp/noop_hooks.rb
Overview
No-op implementation of Hooks. Used as the default when no hooks are configured.
Instance Method Summary collapse
-
#on_operation_end(info, result) ⇒ void
included
from Hooks
Called when a service operation completes (success or failure).
-
#on_operation_start(info) ⇒ void
included
from Hooks
Called when a service operation starts (e.g., projects.list, todos.create).
-
#on_paginate(url, page) ⇒ void
included
from Hooks
Called when pagination fetches the next page.
-
#on_request_end(info, result) ⇒ void
included
from Hooks
Called when an HTTP request completes (success or failure).
-
#on_request_start(info) ⇒ void
included
from Hooks
Called when an HTTP request starts.
-
#on_retry(info, attempt, error, delay) ⇒ void
included
from Hooks
Called when a request is retried.
Instance Method Details
#on_operation_end(info, result) ⇒ void Originally defined in module Hooks
This method returns an undefined value.
Called when a service operation completes (success or failure).
#on_operation_start(info) ⇒ void Originally defined in module Hooks
This method returns an undefined value.
Called when a service operation starts (e.g., projects.list, todos.create).
#on_paginate(url, page) ⇒ void Originally defined in module Hooks
This method returns an undefined value.
Called when pagination fetches the next page.
#on_request_end(info, result) ⇒ void Originally defined in module Hooks
This method returns an undefined value.
Called when an HTTP request completes (success or failure).
#on_request_start(info) ⇒ void Originally defined in module Hooks
This method returns an undefined value.
Called when an HTTP request starts.
#on_retry(info, attempt, error, delay) ⇒ void Originally defined in module Hooks
This method returns an undefined value.
Called when a request is retried.