lib/nylas.rb in nylas-6.0.0.beta.1 vs lib/nylas.rb in nylas-6.0.0.beta.2
- old
+ new
@@ -5,11 +5,11 @@
# BUGFIX
# See https://github.com/sparklemotion/http-cookie/issues/27
# and https://github.com/sparklemotion/http-cookie/issues/6
#
-# CookieJar uses unsafe class caching for dynamically loading cookie jars.
+# CookieJar uses unsafe class caching for dynamically loading cookie jars.
# If two rest-client instances are instantiated at the same time (in threads), non-deterministic
# behaviour can occur whereby the Hash cookie jar isn't properly loaded and cached.
# Forcing an instantiation of the jar onload will force the CookieJar to load before the system has
# a chance to spawn any threads.
# Note that this should technically be fixed in rest-client itself, however that library appears to
@@ -26,11 +26,21 @@
require_relative "nylas/config"
require_relative "nylas/handler/http_client"
require_relative "nylas/resources/applications"
+require_relative "nylas/resources/attachments"
require_relative "nylas/resources/auth"
require_relative "nylas/resources/calendars"
+require_relative "nylas/resources/connectors"
+require_relative "nylas/resources/credentials"
+require_relative "nylas/resources/drafts"
require_relative "nylas/resources/events"
+require_relative "nylas/resources/folders"
require_relative "nylas/resources/grants"
+require_relative "nylas/resources/messages"
+require_relative "nylas/resources/smart_compose"
+require_relative "nylas/resources/threads"
require_relative "nylas/resources/redirect_uris"
require_relative "nylas/resources/webhooks"
+
+require_relative "nylas/utils/file_utils"