Module: HookBridge

Defined in:
lib/hookbridge.rb,
lib/hookbridge/types.rb,
lib/hookbridge/client.rb,
lib/hookbridge/errors.rb,
lib/hookbridge/version.rb

Defined Under Namespace

Modules: APIKeyMode, MessageStatus, MetricsWindow, ReplayableMessageStatus Classes: APIKey, APIKeyCreated, APIKeysResponse, AckPullEventsResponse, ActorLookupResult, AttemptRecord, AttemptsResponse, AuthenticationError, BaseModel, CheckoutSession, Client, CreateEndpointResponse, CreateInboundEndpointResponse, CreatePullEndpointResponse, DLQMessage, DLQResponse, DeleteAllResult, DeleteBatchItemResult, DeleteBatchResult, DeleteEventBatchItemResult, DeleteEventBatchResult, DeleteEventResult, DeleteMessageResult, DeletePartialError, DeletePullEventsAllResult, DeleteResult, Endpoint, EndpointSummary, Error, ExportRecord, IdempotencyError, InboundEndpoint, InboundEndpointSummary, InboundLogEntry, InboundLogsResponse, InboundMessage, InboundMetrics, InboundRejection, InboundRejectionsResponse, Invoice, InvoiceLine, InvoicesResponse, ListEndpointsResponse, ListInboundEndpointsResponse, ListPullEndpointsResponse, ListPullEventsResponse, ListenInboundEndpointResponse, ListenMessage, LogsResponse, Message, MessageSummary, Metrics, NetworkError, NotFoundError, PauseState, PortalSession, Project, PullEndpoint, PullEndpointCounts, PullEndpointSummary, PullEventDetail, PullEventSummary, PullLogEntry, PullLogsResponse, PullTimeSeriesBucket, PullTimeSeriesMetrics, PullTimingBreakdown, RateLimitError, ReplayAllMessagesResponse, ReplayBatchMessagesResponse, ReplayBatchResult, ReplayLimitError, ReplayResponse, RotateSecretResponse, SendResponse, SigningKey, Subscription, SubscriptionLimits, SubscriptionUsage, TimeSeriesBucket, TimeSeriesMetrics, TimeoutError, UpdateResult, UsageHistoryResponse, UsageHistoryRow, ValidationError

Constant Summary collapse

VERSION =
"1.8.0"

Class Method Summary collapse

Class Method Details

.new(api_key:, **options) ⇒ Client

Create a new HookBridge client

Parameters:

  • api_key (String)

    Your HookBridge API key

  • options (Hash)

    Additional options (base_url, timeout, retries)

Returns:

  • (Client)

    A new HookBridge client instance



15
16
17
# File 'lib/hookbridge.rb', line 15

def new(api_key:, **options)
  Client.new(api_key: api_key, **options)
end