Class: Nylas::Scheduler

Inherits:
Object
  • Object
show all
Defined in:
lib/nylas/resources/scheduler.rb

Overview

Nylas Scheduler API This class provides access to the Scheduler resources, including configurations, bookings, sessions, and availability.

Nylas application. Nylas application. Nylas application. Nylas application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client) ⇒ Scheduler

Initializes the Scheduler class.

Parameters:

  • api_client (APIClient)

    The Nylas API client instance for making requests.



27
28
29
30
31
32
33
# File 'lib/nylas/resources/scheduler.rb', line 27

def initialize(api_client)
  @api_client = api_client
  @configurations = Configurations.new(@api_client)
  @bookings = Bookings.new(@api_client)
  @sessions = Sessions.new(@api_client)
  @availability = Availability.new(@api_client)
end

Instance Attribute Details

#availabilityNylas::Availability (readonly)

The Scheduler availability resource for your

Returns:



21
22
23
# File 'lib/nylas/resources/scheduler.rb', line 21

def availability
  @availability
end

#bookingsNylas::Bookings (readonly)

The Scheduler bookings resource for your

Returns:



21
22
23
# File 'lib/nylas/resources/scheduler.rb', line 21

def bookings
  @bookings
end

#configurationsNylas::Configurations (readonly)

The Scheduler configurations resource for your

Returns:



21
22
23
# File 'lib/nylas/resources/scheduler.rb', line 21

def configurations
  @configurations
end

#sessionsNylas::Sessions (readonly)

The Scheduler sessions resource for your

Returns:



21
22
23
# File 'lib/nylas/resources/scheduler.rb', line 21

def sessions
  @sessions
end