Class: Courrier::Email::Providers::Cloudflare
- Inherits:
-
Base
- Object
- Base
- Courrier::Email::Providers::Cloudflare
show all
- Defined in:
- lib/courrier/email/providers/cloudflare.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#deliver, #initialize
Class Method Details
.config_options ⇒ Object
7
|
# File 'lib/courrier/email/providers/cloudflare.rb', line 7
def self.config_options = %w[account_id]
|
Instance Method Details
#body ⇒ Object
9
10
11
12
13
14
15
16
17
18
19
20
|
# File 'lib/courrier/email/providers/cloudflare.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
|