-
Notifications
You must be signed in to change notification settings - Fork 26
Pause Follow and Unfollow endpoints #324
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Overview
This pull request introduces new functionality to pause the follow process for CCR as well as updates the existing unfollow endpoint in the ElastomerClient. Key changes include:
- Adding a new pause_follow method with documentation and a corresponding API call
- Updating the unfollow method documentation to clarify usage and pre-conditions
- Enhancing test coverage by adding helper methods and tests for follow, pause_follow, and unfollow endpoints
- Switching test hook syntax from the default to before/after :each blocks for consistency
Changes
| File | Description |
|---|---|
| lib/elastomer_client/client/ccr.rb | Added pause_follow endpoint; updated unfollow docs |
| test/client/ccr_test.rb | Added tests for pause_follow and unfollow endpoints |
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
lib/elastomer_client/client/ccr.rb:42
- [nitpick] The comment for 'follower_index' could be reworded to clarify the intent, e.g., 'follower_index - String name of the follower index to pause'.
# follower_index - String name of the follower index pause
Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more
jherns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good. I left a few comments and suggestions. I really liked the helper functions you added to the tests
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: John Hernley <jherns@github.com>
Co-authored-by: John Hernley <jherns@github.com>
Co-authored-by: John Hernley <jherns@github.com>
Co-authored-by: John Hernley <jherns@github.com>
Uh oh!
There was an error while loading. Please reload this page.