ocean-rails 2.16.0 → 2.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/api.rb +4 -2
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2c60ebafc941ee1eb947750ff671a40c8d94fe
|
4
|
+
data.tar.gz: 57f32cf769c9bb3781cd227117633199b4965d2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e69fbedb2734b66e99b2c5f673331ad6ce550a0fee95e8676d02ac4518deb0260254c8477b0e0449e7632c26390a62bb99cf184c8c43c3729a33c2807f92c376
|
7
|
+
data.tar.gz: b22390265d6c445ac7e154a20b862ae78550e7be707ea5a99cdddaa41d9b86385f6cd506c6c289a3980ee84d37c791bf7c9f4b9cabd076b78cf344856dc15491
|
data/lib/ocean/api.rb
CHANGED
@@ -277,8 +277,10 @@ class Api
|
|
277
277
|
#
|
278
278
|
# Send an email asynchronously. The Mailer role is required.
|
279
279
|
#
|
280
|
-
def self.send_mail(from:
|
281
|
-
|
280
|
+
def self.send_mail(from: "nobody@#{BASE_DOMAIN}", to: nil,
|
281
|
+
subject: nil,
|
282
|
+
plaintext: nil, html: nil,
|
283
|
+
plaintext_url: nil, html_url: nil, substitutions: nil)
|
282
284
|
Api.request "#{INTERNAL_OCEAN_API_URL}/v1/mails", :post,
|
283
285
|
x_api_token: Api.service_token,
|
284
286
|
body: {
|
data/lib/ocean/version.rb
CHANGED