resend 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/resend/batch.rb +16 -0
- data/lib/resend/client.rb +1 -0
- data/lib/resend/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d47b8d94ca889992ecef9e04d771fc16674236acc93c07d3dcd849bc5d5b2fe
|
4
|
+
data.tar.gz: 637a2eedb36475746c7c8494ae657ee78ab567be7d2864e3b63c97bbdb5d797c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3307b328674d55b133822f6837662615d88c8f4f5b6ae5c4d3467ba0fc1538d5dcf26873dd8584128ff2a1e6ef908d9bf5dec3e0e2534988f8dcc2bba13f75ce
|
7
|
+
data.tar.gz: 4215c88a8db32f51cf076c56e0a69c1f1b9313b242425c039c16a8e30a7e78ac5f7dcd2369f5c41919976c65403557fba126d81348a9192f7a449b5b9ee9fa09
|
data/lib/resend/batch.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "resend/request"
|
4
|
+
|
5
|
+
module Resend
|
6
|
+
# Module responsible for wrapping Batch email sending API
|
7
|
+
module Batch
|
8
|
+
class << self
|
9
|
+
# https://resend.com/docs/api-reference/emails/send-batch-emails
|
10
|
+
def send(params = [])
|
11
|
+
path = "emails/batch"
|
12
|
+
Resend::Request.new(path, params, "post").perform
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/resend/client.rb
CHANGED
data/lib/resend/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derich Pacheco
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- README.md
|
48
48
|
- lib/resend.rb
|
49
49
|
- lib/resend/api_keys.rb
|
50
|
+
- lib/resend/batch.rb
|
50
51
|
- lib/resend/client.rb
|
51
52
|
- lib/resend/domains.rb
|
52
53
|
- lib/resend/emails.rb
|