Class: Courrier::Email::Providers::Userlist
- Inherits:
-
Base
- Object
- Base
- Courrier::Email::Providers::Userlist
show all
- Defined in:
- lib/courrier/email/providers/userlist.rb
Constant Summary
collapse
- ENDPOINT_URL =
"https://push.userlist.com/messages"
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/userlist.rb', line 7
def self.config_options = %w[theme]
|
Instance Method Details
#body ⇒ Object
11
12
13
14
15
16
17
18
|
# File 'lib/courrier/email/providers/userlist.rb', line 11
def body
{
"from" => @options.from,
"to" => @options.to,
"subject" => @options.subject,
"body" => body_document
}.compact.merge(provider_options)
end
|