nylas 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nylas/resources/grants.rb +2 -1
- data/lib/nylas/resources/webhooks.rb +2 -2
- data/lib/nylas/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4210ab41b7981d0dee78c6c08cad413063e621f0142909ef9e156e477092c572
|
4
|
+
data.tar.gz: 8845808ca7a7a993676b02373ab89d9db702742f2f3ad89678b529392e9596b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47e3479b8c975bd0bb4d5d25dd336abb1f8fa469e06d2eeda5b039ae4d09d7a3f5cab3efb7f2d9ec4b9124a991ccdd531766a32b6a89b70c6a26b878f6f03792
|
7
|
+
data.tar.gz: c69da1ded4c8f953009b747b999e743e6bc6ef1418d88544f3d33991a655ad40a9c95a94db6ed2f13a0bf2bda133858f35f738e4e2cdfa0c9130061e5a35098b
|
@@ -9,6 +9,7 @@ module Nylas
|
|
9
9
|
include ApiOperations::Get
|
10
10
|
include ApiOperations::Put
|
11
11
|
include ApiOperations::Delete
|
12
|
+
include ApiOperations::Patch
|
12
13
|
|
13
14
|
# Return all grants.
|
14
15
|
#
|
@@ -37,7 +38,7 @@ module Nylas
|
|
37
38
|
# @param request_body [Hash] The values to update the grant with
|
38
39
|
# @return [Array(Hash, String)] The updated grant and API Request ID.
|
39
40
|
def update(grant_id:, request_body:)
|
40
|
-
|
41
|
+
patch(
|
41
42
|
path: "#{api_uri}/v3/grants/#{grant_id}",
|
42
43
|
request_body: request_body
|
43
44
|
)
|
@@ -89,8 +89,8 @@ module Nylas
|
|
89
89
|
# @param webhook_id [String] The ID of the webhook destination to update.
|
90
90
|
# @return [Array(Hash, String)] The updated webhook destination and API Request ID.
|
91
91
|
def rotate_secret(webhook_id:)
|
92
|
-
|
93
|
-
path: "#{api_uri}/v3/webhooks/#{webhook_id}
|
92
|
+
post(
|
93
|
+
path: "#{api_uri}/v3/webhooks/rotate-secret/#{webhook_id}",
|
94
94
|
request_body: {}
|
95
95
|
)
|
96
96
|
end
|
data/lib/nylas/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nylas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nylas, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|