Skip to content

Commit

Permalink
Update connectors.rb (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
atejada authored Jan 30, 2024
1 parent f3fb868 commit 546d040
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/nylas/resources/connectors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Connectors < Resource
include ApiOperations::Post
include ApiOperations::Put
include ApiOperations::Delete
include ApiOperations::Patch

# Access the Credentials API
attr_reader :credentials
Expand Down Expand Up @@ -59,7 +60,7 @@ def create(request_body:)
# @param request_body [Hash] The values to update the connector with
# @return [Array(Hash, String)] The updated connector and API Request ID.
def update(provider:, request_body:)
put(
patch(
path: "#{api_uri}/v3/connectors/#{provider}",
request_body: request_body
)
Expand Down

0 comments on commit 546d040

Please sign in to comment.