Sha256: e809c7a734ed7580976b455d128037b753cb764220044cff641f57a42912dd65
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 KB
Contents
# frozen_string_literal: true require "json" require "rest-client" # 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. # 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 # be stagnant so we're forced to fix it here. # This object should get GC'd as it's not referenced by anything. HTTP::CookieJar.new require "ostruct" require "forwardable" require_relative "nylas/version" require_relative "nylas/errors" require_relative "nylas/client" 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"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nylas-6.0.0.beta.2 | lib/nylas.rb |