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

[FSSDK-9382] switch client init args from positional to keyword #342

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

andrewleap-optimizely
Copy link
Contributor

Summary

The Optimizely constructor uses positional args and since all of them are optional, it can become unwieldy.

This PR changes the positional args to keyword.

Ticket

FSSDK-9382

Issues

#243

@andrewleap-optimizely andrewleap-optimizely marked this pull request as ready for review December 7, 2023 16:37
@andrewleap-optimizely andrewleap-optimizely requested a review from a team as a code owner December 7, 2023 16:37
Copy link
Contributor

@mikechu-optimizely mikechu-optimizely left a comment

Choose a reason for hiding this comment

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

Some thoughts and suggestions for whatever my Ruby review's worth.

lib/optimizely/audience.rb Outdated Show resolved Hide resolved
spec/project_spec.rb Show resolved Hide resolved
Copy link
Contributor

@mikechu-optimizely mikechu-optimizely left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

2 participants