The official Ruby SDK for the buchida email API.
Installation
gem install buchidaOr add to your Gemfile:
gem "buchida"Quick Start
require "buchida"
client = Buchida::Client.new("bc_live_xxxxxxxxxxxxxxxxxxxxx")
result = client.emails.send(
from: "hello@yourdomain.com",
to: "user@example.com",
subject: "Welcome to buchida!",
html: "<h1>Hello!</h1><p>Welcome aboard.</p>"
)
puts "Email sent: #{result['id']}"Features
- Ruby 3.2+
- Zero dependencies (stdlib
net/http) - Typed error handling
Documentation
License
MIT