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

Add documentation specifying the per_page default of 30. #656

Closed
wants to merge 2 commits into from

Conversation

thedayisntgray
Copy link

Adding default per_page to documentation to make it more explicit for developers.

Let users know what the default value is within the documentation.
@@ -33,7 +33,7 @@ class Post
self.per_page = 10
end

# set per_page globally
# set per_page globally (If this setting is left unspecified the default value is 30)

Choose a reason for hiding this comment

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

I would put it on line 28 implying it also applies for class Post if not specified.

@mislav
Copy link
Owner

mislav commented Jan 29, 2025

Hi, thank you for the suggestion, but the default being 30 is already documented in our API documentation on the wiki and I don't feel like it needs to be repeated in too many places.

@mislav mislav closed this Jan 29, 2025
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