Sha256: 7d23855a6334a80d4df36d1bc342c178c8849c7bd4db0924bf9eef9f73999a31
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
# frozen_string_literal: true require_relative "./configurations" require_relative "./sessions" require_relative "./bookings" require_relative "./availability" module Nylas # Nylas Scheduler API # This class provides access to the Scheduler resources, including # configurations, bookings, sessions, and availability. # # @attr_reader [Nylas::Configurations] configurations The Scheduler configurations resource for your # Nylas application. # @attr_reader [Nylas::Bookings] bookings The Scheduler bookings resource for your # Nylas application. # @attr_reader [Nylas::Sessions] sessions The Scheduler sessions resource for your # Nylas application. # @attr_reader [Nylas::Availability] availability The Scheduler availability resource for your # Nylas application. class Scheduler attr_reader :configurations, :sessions, :bookings, :availability # Initializes the Scheduler class. # # @param api_client [APIClient] The Nylas API client instance for making requests. 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 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nylas-6.2.2 | lib/nylas/resources/scheduler.rb |
nylas-6.2.1 | lib/nylas/resources/scheduler.rb |