Module: Unitpost::Resources

Defined in:
lib/unitpost/resources.rb

Overview

Resource surface — the hand-written, ergonomic layer (our own style).

Each resource is a small class with explicit methods mirroring the Node and Python SDKs (emails.send, contacts.list/create/get/update/delete, ...). The codegen "surface coverage" check fails CI if a spec operation has no method here. Every method returns a Unitpost::Result and never raises for an API error. Bodies/params are plain Hashes.

Defined Under Namespace

Classes: ApiKeys, Base, BrandKits, Campaigns, ContactFields, Contacts, Domains, Emails, Segments, Suppressions, Templates, Topics, Usage, Webhooks