Skip to content

Commit

Permalink
Removing scheduling class
Browse files Browse the repository at this point in the history
  • Loading branch information
kraju3 committed Oct 3, 2024
1 parent 0aed828 commit 91000ed
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 46 deletions.
35 changes: 30 additions & 5 deletions lib/nylas/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
require_relative "resources/webhooks"
require_relative "resources/applications"
require_relative "resources/folders"
require_relative "resources/scheduling"
require_relative "resources/configurations"
require_relative "resources/sessions"
require_relative "resources/availability"
require_relative "resources/bookings"

module Nylas
# Methods to retrieve data from the Nylas API as Ruby objects.
Expand Down Expand Up @@ -119,11 +122,33 @@ def webhooks
Webhooks.new(self)
end

# The scheduling resources for your Nylas application.
# The configuration resources for your Nylas application.
#
# @return [Nylas::Scheduling] Scheduling resources for your Nylas application.
def scheduling
Scheduling.new(self)
# @return [Nylas::Scheduling::Confiugrations] Scheduling configuration resources
# for your Nylas application.
def configurations
Configurations.new(self)
end

# The Booking resources for your Nylas application.
#
# @return [Nylas::Scheduling::Bookings] Scheduling booking resources for your Nylas application.
def bookings
Bookings.new(self)
end

# The Session resources for your Nylas application.
#
# @return [Nylas::Scheduling::Sessions] Scheduling session resources for your Nylas application.
def sessions
Sessions.new(self)
end

# The availability resources for your Nylas application.
#
# @return [Nylas::Scheduling::Availability] Scheduling availability resources for your Nylas application.
def availability
Availability.new(self)
end
end
end
41 changes: 0 additions & 41 deletions lib/nylas/resources/scheduling.rb

This file was deleted.

0 comments on commit 91000ed

Please sign in to comment.