README.md in gitlab-3.5.0 vs README.md in gitlab-3.6.0

- old
+ new

@@ -80,9 +80,26 @@ # => "other_user" # disable a sudo mode Gitlab.sudo = nil # => nil + +# a paginated response +projects = Gitlab.projects(per_page: 5) + +# check existence of the next page +projects.has_next_page? + +# retrieve the next page +projects.next_page + +# iterate all projects +projects.auto_paginate do |project| + # do something +end + +# retrieve all projects as an array +projects.auto_paginate ``` For more information, refer to [documentation](http://rubydoc.info/gems/gitlab/frames). ## CLI