module Resend::Emails
def get(email_id = "")
def get(email_id = "") path = "emails/#{email_id}" Resend::Request.new(path, {}, "get").perform end
def send(params)
send email functionality
def send(params) path = "emails" Resend::Request.new(path, params, "post").perform end
def send_email(params)
This method is kept here for backwards compatibility
def send_email(params) warn "[DEPRECATION] `send_email` is deprecated. Please use `Resend::Emails.send` instead." Resend::Emails.send(params) end