Module: Resend::Batch

Defined in:
lib/resend/batch.rb

Overview

Module responsible for wrapping Batch email sending API

Class Method Summary collapse

Class Method Details

.send(params = [], options: {}) ⇒ Object



8
9
10
11
12
# File 'lib/resend/batch.rb', line 8

def send(params = [], options: {})
  path = "emails/batch"

  Resend::Request.new(path, params, "post", options: options).perform
end