Apollo Signal API Ruby SDK

Ruby client for the Apollo Signal API API.

Generated by Tesseract. Generated source files should not be edited manually.

Installation

gem 'apollo-deploy-signal-sdk'
bundle install

Quick start

require 'apollo-deploy-signal-sdk'

client = ApolloDeploySignalSdk::Client.new(
  base_url: "https://api.signal.apollodeploy.com",
  timeout: 15
)

api = client.emails

Configuration and reliability

The transport provides bounded timeouts, exponential-backoff retries, rate-limit handling, default headers, and structured SDKError values. Unsafe requests are retried only when explicitly enabled or made idempotent.

client = ApolloDeploySignalSdk::Client.new(
  timeout: 30,
  retries: {
    attempts: 3,
    backoff: 0.4,
    jitter: true,
    max_backoff: 30.0
  },
  default_headers: { 'X-Application' => 'my-service' }
)

Documentation

Domain Description
Emails emails operations
Metrics metrics operations
Suppressions suppressions operations
Segments segments operations
Topics topics operations
ContactProperties contactProperties operations
Contacts contacts operations
Webhooks webhooks operations
ApiKeys apiKeys operations
Projects projects operations
SendingDomains sendingDomains operations

Error handling

begin
  # Call a domain operation.
rescue ApolloDeploySignalSdk::SDKError => error
  warn "#{error.status} #{error.code} request=#{error.request_id}"
  raise
end

License

MIT