Skip to content

Commit 09515b1

Browse files
Export MutliWorkspace client, make WorkspaceProxy private, adjust the test
1 parent 028e581 commit 09515b1

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/seam.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require_relative "seam/logger"
44
require_relative "seam/http"
5+
require_relative "seam/http_multi_workspace"
56
require_relative "seam/wait_for_action_attempt"
67
require_relative "seam/webhook"
78

lib/seam/http_multi_workspace.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,7 @@ def create(**kwargs)
6868
@workspaces.create(**kwargs)
6969
end
7070
end
71+
72+
private_constant :WorkspacesProxy
7173
end
7274
end

spec/seam_client/client_multi_workspace_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
end
1717

1818
describe "#workspaces" do
19-
it "returns a WorkspacesProxy instance" do
20-
expect(client.workspaces).to be_a(Seam::Http::WorkspacesProxy)
21-
end
22-
2319
before do
2420
stub_request(:post, "#{endpoint}/workspaces/create")
2521
.to_return(status: 200, body: {workspace: {workspace_id: "ws_123456"}}.to_json, headers: {"Content-Type" => "application/json"})

0 commit comments

Comments
 (0)