The official Ruby SDK for the buchida email API.
gem install buchidaOr add to your Gemfile:
gem "buchida"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']}"- Ruby 3.2+
- Zero dependencies (stdlib
net/http) - Typed error handling
MIT