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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e024af320af434631fba03fac6574a554874e1a5c43193ed082427000eeaa13
4
- data.tar.gz: b10c3fb1b88e7fbbad8eb7d7b040942696233ef6f4695c45331c9ab8d20de261
3
+ metadata.gz: 1cdc090b34ac8762edf447340534a2cfa78c858abd824f0d61999ee394086b3d
4
+ data.tar.gz: ca457c5e3fcbd109ccc17363b459e89a914a2b69e7fcf281c72eaf069ea345be
5
5
  SHA512:
6
- metadata.gz: 1e31ee422985b5a4c3aaee94adde13febd8027b3b44d84e147759190ab60a50b0d1c9c2c8b61842deead2989aef65198a3855ea4911b0ab832203cb118f7ce4e
7
- data.tar.gz: 5f18787f17121aa4653f15a932385b70258894898d9a2fb3e2660f4024aed63531505be301e2433d18baa86e8127fe41e799e66a88f5daba3e292aa4f78eb0ad
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 `content`,
53
- # `filename` and `content_type`. A `path` or `content_id` returns a 422. The files on a draft can
54
- # total at most 25 MB. An empty file or a blocked file type returns a 422
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Resend
4
- VERSION = "1.18.0"
4
+ VERSION = "1.19.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derich Pacheco