lib/seam.rb in seam-2.0.0b2 vs lib/seam.rb in seam-2.0.0b3
- old
+ new
@@ -1,25 +1,23 @@
# frozen_string_literal: true
-require_relative "seam/logger"
require_relative "seam/lts_version"
require_relative "seam/http"
require_relative "seam/http_multi_workspace"
-require_relative "seam/version"
-require_relative "seam/wait_for_action_attempt"
require_relative "seam/webhook"
+require_relative "seam/wait_for_action_attempt"
module Seam
def self.new(**args)
- Http.new(**args)
+ Seam::Http.new(**args)
end
def self.from_api_key(api_key, endpoint: nil, wait_for_action_attempt: false)
- Http.from_api_key(api_key, endpoint: endpoint, wait_for_action_attempt: wait_for_action_attempt)
+ Seam::Http.from_api_key(api_key, endpoint: endpoint, wait_for_action_attempt: wait_for_action_attempt)
end
def self.from_personal_access_token(personal_access_token, workspace_id, endpoint: nil, wait_for_action_attempt: false)
- Http.from_personal_access_token(personal_access_token, workspace_id, endpoint: endpoint, wait_for_action_attempt: wait_for_action_attempt)
+ Seam::Http.from_personal_access_token(personal_access_token, workspace_id, endpoint: endpoint, wait_for_action_attempt: wait_for_action_attempt)
end
def self.lts_version
Seam::LTS_VERSION
end