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

Jko/user rules #8

Merged
merged 3 commits into from
Feb 4, 2015
Merged

Jko/user rules #8

merged 3 commits into from
Feb 4, 2015

Conversation

jkodumal
Copy link
Contributor

No description provided.

end
return false
end

def match_variation?(variation, user)
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the userTarget is a part of the variation, this function should probably be named matchTargets or something, since it a user may match a given variation, but this function would return false.

I guess it doesn't matter that much, since this function is private anyway...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, some of the names are a bit unfortunate, but I want to keep the SDKs as consistent as I can. It makes it easier to port code between them. So I'd rather not have to re-name this everywhere.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, fair enough.

@pkaeding
Copy link
Contributor

lgtm

jkodumal added a commit that referenced this pull request Feb 4, 2015
@jkodumal jkodumal merged commit ea57c00 into master Feb 4, 2015
@jkodumal jkodumal deleted the jko/user-rules branch February 4, 2015 18:18
zsiddique added a commit that referenced this pull request Jul 26, 2017
* gitignore DS_Store

* Update readme with note on how to install via gem command

* Update grammar
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