Module: Nylas::GrantsApiOperations::Create
- Includes:
- ApiOperations::Post
- Defined in:
- lib/nylas/handler/grants_api_operations.rb
Overview
Creates a Nylas object.
Instance Method Summary collapse
-
#create(identifier:, query_params: {}, request_body: nil) ⇒ Array(Hash, String)
Creates a Nylas object.
Instance Method Details
#create(identifier:, query_params: {}, request_body: nil) ⇒ Array(Hash, String)
Creates a Nylas object.
19 20 21 22 23 24 25 |
# File 'lib/nylas/handler/grants_api_operations.rb', line 19 def create(identifier:, query_params: {}, request_body: nil) post( path: "#{api_uri}/v3/grants/#{identifier}/#{resource_name}", query_params: query_params, request_body: request_body ) end |