lib/seam/http_multi_workspace.rb in seam-2.0.0b2 vs lib/seam/http_multi_workspace.rb in seam-2.0.0b3
- old
+ new
@@ -1,11 +1,15 @@
# frozen_string_literal: true
require_relative "request"
require_relative "parse_options"
require_relative "lts_version"
+require_relative "version"
require_relative "auth"
+require_relative "routes/resources/index"
+require_relative "routes/clients/index"
+require_relative "routes/routes"
module Seam
module Http
class MultiWorkspace
attr_reader :client, :defaults
@@ -14,10 +18,10 @@
faraday_retry_options: {})
@wait_for_action_attempt = wait_for_action_attempt
@defaults = {"wait_for_action_attempt" => wait_for_action_attempt}
@endpoint = Http::Options.get_endpoint(endpoint)
@auth_headers = Http::Auth.get_auth_headers_for_multi_workspace_personal_access_token(personal_access_token)
- @client = Seam::Http::Request.create_faraday_client(@endpoint, @auth_headers, faraday_options,
+ @client = Http::Request.create_faraday_client(@endpoint, @auth_headers, faraday_options,
faraday_retry_options)
end
def self.lts_version
Seam::LTS_VERSION