resend 1.18.0 → 1.19.0
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/resend/inboxes/drafts.rb +5 -3
- data/lib/resend/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: 1cdc090b34ac8762edf447340534a2cfa78c858abd824f0d61999ee394086b3d
|
|
4
|
+
data.tar.gz: ca457c5e3fcbd109ccc17363b459e89a914a2b69e7fcf281c72eaf069ea345be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77ae30bbe8e42b511a9d5c0cac5e7782eafdb141b8e06500919d6d3f8b805477554e23e44033c244af7934c6e05591d8656099495b3b7f2f79f9e1f8fac76a66
|
|
7
|
+
data.tar.gz: 5ab3fa945184ec0890d8180c43296f88addccf6d85307c3c0dc7c830f154c04476e0dc306d69efd80e569da003f98ef7175a0a30974ca8fe2772df65aa033348
|
|
@@ -49,9 +49,11 @@ module Resend
|
|
|
49
49
|
# @option params [String] :text the plain text body
|
|
50
50
|
# @option params [String] :thread_id the thread ID to reply in. Must be sent with `reply_to_email_id`
|
|
51
51
|
# @option params [String] :reply_to_email_id the email ID to reply to. Must be sent with `thread_id`
|
|
52
|
-
# @option params [Array<Hash>] :attachments files to store on the draft. Each one needs `
|
|
53
|
-
# `
|
|
54
|
-
#
|
|
52
|
+
# @option params [Array<Hash>] :attachments files to store on the draft. Each one needs a `filename`
|
|
53
|
+
# and either `content` with a `content_type`, or a `path` URL that is downloaded when the request
|
|
54
|
+
# is made. With `path`, `content_type` defaults to the type of the downloaded file. A `content_id`
|
|
55
|
+
# returns a 422. The files on a draft, downloaded ones included, can total at most 25 MB. An empty
|
|
56
|
+
# file, a blocked file type, or a `path` that cannot be downloaded returns a 422
|
|
55
57
|
# @param options [Hash] additional options for the request
|
|
56
58
|
# @option options [String] :idempotency_key a unique key for the request, so the draft is created
|
|
57
59
|
# only once. 1 to 256 characters. A retry with the same key within 24 hours replays the first
|
data/lib/resend/version.rb
CHANGED