bunny-ruby-sdk
Official Ruby gem for Bunny — bunny_app. Covers installation, Rails initializer generator (bin/rails g bunny_app:install), OAuth2 client-credentials configuration (recommended, with automatic token refresh) and access-token configuration, module methods for creating and cancelling subscriptions, updating subscription quantities, converting trials, managing tenants and platforms, pushing tenant metrics, recording feature usage, generating customer-portal sessions, validating incoming webhooks with the x-bunny-signature header, and dropping down to raw GraphQL via BunnyApp.query / BunnyApp.query_async. Use when integrating Bunny into a Ruby or Rails app. For Node / TypeScript see bunny-node-sdk; for raw GraphQL see bunny-graphql.
Pinned to revision ed962fe0b797, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.