keplars 1.11.4 → 1.11.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/keplars/resources.rb +5 -5
- data/lib/keplars/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9d85cc84804a16476332b95fcf8ee768051654bab90f9b2d1e0f392fe1252ed
|
|
4
|
+
data.tar.gz: '09c33b841937e66eaafb2dde7516bf2134d6312ea1d17a6cf0fb048c85eedc7c'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d037c2e6023c852ab8e302aa97a9fbdbe942bb25d1dad8867d2faa96477f04dd7062edff63316d8c5795c07b3b79e0e355370aaa5885962766514013aefee684
|
|
7
|
+
data.tar.gz: 0e0cde352153812aea8ebddf37410d061014005240227feb8c4641b2bebb9ac8d76b1ec2c669ff3c001f758da1b0a44d39c67d763ce00e573daaefc5e34cf0d4
|
data/lib/keplars/resources.rb
CHANGED
|
@@ -9,22 +9,22 @@ module Keplars
|
|
|
9
9
|
class Emails < Base
|
|
10
10
|
def send_instant(**args)
|
|
11
11
|
body = args.compact
|
|
12
|
-
@client.request('POST', '/api/v1/
|
|
12
|
+
@client.request('POST', '/api/v1/send-email/instant', body: body)[:data]
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def send_high(**args)
|
|
16
16
|
body = args.compact
|
|
17
|
-
@client.request('POST', '/api/v1/
|
|
17
|
+
@client.request('POST', '/api/v1/send-email/high', body: body)[:data]
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
def send_async(**args)
|
|
21
21
|
body = args.compact
|
|
22
|
-
@client.request('POST', '/api/v1/
|
|
22
|
+
@client.request('POST', '/api/v1/send-email/async', body: body)[:data]
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def send_bulk(**args)
|
|
26
26
|
body = args.compact
|
|
27
|
-
@client.request('POST', '/api/v1/
|
|
27
|
+
@client.request('POST', '/api/v1/send-email/bulk', body: body)[:data]
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def send(**args)
|
|
@@ -34,7 +34,7 @@ module Keplars
|
|
|
34
34
|
def schedule(**args)
|
|
35
35
|
body = args.compact
|
|
36
36
|
body[:priority] ||= 'async'
|
|
37
|
-
@client.request('POST', '/api/v1/
|
|
37
|
+
@client.request('POST', '/api/v1/send-email/schedule', body: body)[:data]
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
end
|
data/lib/keplars/version.rb
CHANGED