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 client does not construct the correct url for channel stop for admin sdk #251

Closed
sqrrrl opened this issue Jul 7, 2015 · 0 comments
Closed
Assignees
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@sqrrrl
Copy link
Contributor

sqrrrl commented Jul 7, 2015

Copied from https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=3901

I am using the ruby sdk to make api calls to the google client. When I make the following call:

admin = client.discovered_api('admin', 'directory_v1')
admin_result = client.execute(:api_method => admin.channel.stop, :body_object => {"id": , "resourceId": })

It returns a 404 response and I can see the url it is building is:
https://www.googleapis.com/admin/directory/v1//admin/directory_v1/channels/stop

I am able to do a curl request to the following url successfully:
https://www.googleapis.com/admin/directory_v1/channels/stop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants