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

Switch Client to positional args #155

Merged
merged 5 commits into from May 30, 2019

Conversation

blowmage
Copy link
Contributor

This PR changes the Client RPC methods to use positional arguments instead of the mixed positional/named arguments. This is needed to work around Protobuf adding the #to_hash method to the resource classes.

This PR is dependent on googleapis/gax-ruby#208.

@blowmage blowmage requested a review from a team May 30, 2019 15:05
@blowmage blowmage self-assigned this May 30, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 30, 2019
@blowmage blowmage changed the title Client methods positional Switch Client to positional args May 30, 2019
Copy link
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. (Don't forget to change gem "google-gax", github: "blowmage/gax-ruby", branch: "2.0/client-methods-positional".)

Copy link
Member

@quartzmo quartzmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the documentation of the request attributes!

@blowmage blowmage merged commit 2b35870 into googleapis:master May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants