Method: BitBucket::Result#each_page
- Defined in:
- lib/bitbucket_rest_api/result.rb
#each_page {|self.body| ... } ⇒ Object
Iterator like each for response pages. If there are no pages to iterate over this method will return nothing.
69 70 71 72 73 74 |
# File 'lib/bitbucket_rest_api/result.rb', line 69 def each_page yield self.body while page_iterator.has_next? yield next_page end end |