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

Error in ruby documentation for associating authenticated domains with a subuser #502

Open
reedperkins opened this issue Aug 14, 2024 · 0 comments

Comments

@reedperkins
Copy link

I noticed an error in the ruby example for associating an authenticated domain with a subuser.

Currently, line 10 reads:

response = sg.client.whitelabel.domains._(domain_id).subuser:add.post(request_body: data)

The colon in subuser:add is invalid Ruby syntax. Really it should be:

response = sg.client.whitelabel.domains._(domain_id)._("subuser:add").post(request_body: data)

I opened a ticket with support and suggested the correction, and they said to create an issue here. I would be willing to create a PR for the fix, but I can't find where this example comes from in the repo.

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

1 participant