Sha256: 443d9a0cb1a1e3b198cc4d5948f57f37aaed3efd8a3ecead983a0571498903ea

Contents?: true

Size: 611 Bytes

Versions: 2

Compression:

Stored size: 611 Bytes

Contents

# frozen_string_literal: true

require_relative "resource"
require_relative "../handler/api_operations"

module Nylas
  # Nylas Messages API
  class Availability < Resource
    include ApiOperations::Get

    # Return availabilities for a configuration.
    # @param query_params [Hash, nil] Query params to pass to the request.
    # @return [Array(Array(Hash), String, String)] The list of configurations, API Request ID,
    # and next cursor.
    def list(query_params: nil)
      get_list(
        path: "#{api_uri}/v3/scheduling/availability",
        query_params: query_params
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nylas-6.2.2 lib/nylas/resources/availability.rb
nylas-6.2.1 lib/nylas/resources/availability.rb