Skip to content

API review#292

Merged
raphi merged 3 commits intomasterfrom
review
May 17, 2018
Merged

API review#292
raphi merged 3 commits intomasterfrom
review

Conversation

@raphi
Copy link

@raphi raphi commented May 15, 2018

#269 PR that went under the radar cc @julienbourdeau

@coveralls
Copy link

coveralls commented May 15, 2018

Coverage Status

Coverage increased (+1.3%) to 95.102% when pulling 6dd4e62 on review into 8e2bedf on master.

#
def Algolia.add_api_key(obj, request_options = {}, maxQueriesPerIPPerHour = 0, maxHitsPerQuery = 0, indexes = nil)
Algolia.client.add_api_key(obj, request_options, maxQueriesPerIPPerHour, maxHitsPerQuery, indexes)
def Algolia.add_api_key(object, request_options = {}, max_queries_per_IP_per_hour = 0, max_hits_per_query = 0, indexes = nil)

Choose a reason for hiding this comment

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

Isn't renaming optional parameter a break of backward compat'? I might be mixing up with Python.

Copy link
Author

Choose a reason for hiding this comment

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

Nope, you can even do add_api_key(plop = 'hello') it will work; the order is important though

@raphi raphi merged commit d01dc05 into master May 17, 2018
@raphi raphi deleted the review branch May 17, 2018 09:12
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.

3 participants