Module: SeatLayer
- Defined in:
- lib/seatlayer.rb,
lib/seatlayer/errors.rb,
lib/seatlayer/version.rb,
lib/seatlayer/webhook.rb,
lib/seatlayer/inventory.rb,
lib/seatlayer/resources.rb,
lib/seatlayer/http_client.rb
Overview
Official Ruby server SDK for the SeatLayer reserved-seating API.
Server-side only: this gem authenticates with your secret key. Never load it anywhere a ticket buyer can reach — browser surfaces get short-lived, scoped tokens that you mint with SeatLayer::Sessions.
client = SeatLayer::Client.new(ENV.fetch("SEATLAYER_SECRET_KEY"))
held = client.inventory.hold_best_available("summer-gala", qty: 4)
Defined Under Namespace
Modules: Webhook Classes: APIError, AuthError, Charts, Client, ConflictError, ConnectionError, Error, Events, HTTPClient, Inventory, NotFoundError, RateLimitError, Resource, Sessions, ValidationError, WebhookVerificationError, Webhooks, Workspaces
Constant Summary collapse
- VERSION =
"0.1.0"