Class: Courrier::Email::Providers::Resend
- Defined in:
- lib/courrier/email/providers/resend.rb
Constant Summary collapse
- ENDPOINT_URL =
"https://api.resend.com/emails"
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Courrier::Email::Providers::Base
Instance Method Details
#body ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/courrier/email/providers/resend.rb', line 9 def body { "from" => @options.from, "to" => @options.to, "reply_to" => @options.reply_to, "cc" => @options.cc, "bcc" => @options.bcc, "subject" => @options.subject, "text" => @options.text, "html" => @options.html }.compact end |