Module: Nylas::GrantsApiOperations::Destroy
- Includes:
- ApiOperations::Delete
- Defined in:
- lib/nylas/handler/grants_api_operations.rb
Overview
Deletes a Nylas object.
Instance Method Summary collapse
-
#destroy(identifier:, object_id:, query_params: {}) ⇒ Array(TrueClass, String)
Deletes a Nylas object.
Instance Method Details
#destroy(identifier:, object_id:, query_params: {}) ⇒ Array(TrueClass, String)
Deletes a Nylas object.
89 90 91 92 93 94 95 96 |
# File 'lib/nylas/handler/grants_api_operations.rb', line 89 def destroy(identifier:, object_id:, query_params: {}) _, request_id = delete( path: "#{api_uri}/v3/grants/#{identifier}/#{resource_name}/#{object_id}", query_params: query_params ) [true, request_id] end |