Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby module structure #115

Open
razor-x opened this issue Sep 23, 2024 · 1 comment
Open

Ruby module structure #115

razor-x opened this issue Sep 23, 2024 · 1 comment
Assignees

Comments

@razor-x
Copy link
Contributor

razor-x commented Sep 23, 2024

  • Seam is a module.
  • Seam.new is an alias to Seam::Http.new and Seam.from_* are also aliased.
  • Seam::Http.new is an alias to Seam::Http::SingleWorkspace.new
  • Seam::Webhook is a class
  • Seam::Http is a module
  • Seam::Http::SingleWorkspace and Seam::Http::MultiWorkspace are classes.
  • Seam::Http:: contains the invalid option errors and api request / auth errors.
  • Seam::Resources is a module with each resource, Seam::Resources::Device is a class.
  • Seam::Http::Routes is a mixin module.
  • Seam::Http::WaitForActionAttempt? Where to put the action attempt polling helper?
  • Use https://github.com/lostisland/faraday?
@razor-x
Copy link
Contributor Author

razor-x commented Oct 3, 2024

Why is WorkspacesProxy outside the Seam module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants