Module: Resend::Batch
- Defined in:
- lib/resend/batch.rb
Overview
Module responsible for wrapping Batch email sending API
Class Method Summary collapse
-
.send(params = [], options: {}) ⇒ Hash
Send a batch of emails.
Class Method Details
.send(params = [], options: {}) ⇒ Hash
Send a batch of emails
https://resend.com/docs/api-reference/emails/send-batch-emails
29 30 31 32 33 |
# File 'lib/resend/batch.rb', line 29 def send(params = [], options: {}) path = "emails/batch" Resend::Request.new(path, params, "post", options: ).perform end |