Module: Nylas::GrantsApiOperations::Update
- Includes:
- ApiOperations::Put
- Defined in:
- lib/nylas/handler/grants_api_operations.rb
Overview
Updates a Nylas object.
Instance Method Summary collapse
-
#update(identifier:, object_id:, query_params: {}, request_body: nil) ⇒ Array(Hash, String)
Updates a Nylas object.
Instance Method Details
#update(identifier:, object_id:, query_params: {}, request_body: nil) ⇒ Array(Hash, String)
Updates a Nylas object.
71 72 73 74 75 76 77 |
# File 'lib/nylas/handler/grants_api_operations.rb', line 71 def update(identifier:, object_id:, query_params: {}, request_body: nil) put( path: "#{api_uri}/v3/grants/#{identifier}/#{resource_name}/#{object_id}", query_params: query_params, request_body: request_body ) end |