Method: Github::Pagination#prev_page
- Defined in:
- lib/github_api/pagination.rb
#prev_page ⇒ Object Also known as: previous_page
Retrives the result of the previous page. Returns nil if there is no previous page or no pages at all.
62 63 64 65 66 |
# File 'lib/github_api/pagination.rb', line 62 def prev_page prev_request = page_iterator.prev self.instance_eval { @env = prev_request.env } if prev_request prev_request end |