Class: Nylas::Availability

Inherits:
Resource show all
Includes:
Nylas::ApiOperations::Get
Defined in:
lib/nylas/resources/availability.rb

Overview

Nylas Messages API

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from Nylas::Resource

Instance Method Details

#list(query_params: nil) ⇒ Array(Array(Hash), String, String)

Return availabilities for a configuration. and next cursor.

Parameters:

  • query_params (Hash, nil) (defaults to: nil)

    Query params to pass to the request.

Returns:

  • (Array(Array(Hash), String, String))

    The list of configurations, API Request ID,



15
16
17
18
19
20
# File 'lib/nylas/resources/availability.rb', line 15

def list(query_params: nil)
  get_list(
    path: "#{api_uri}/v3/scheduling/availability",
    query_params: query_params
  )
end