Method: RTX::API::Collection#prev
- Defined in:
- lib/rtx/api/collection.rb
#prev ⇒ Object
For moving backward one page with the collection
80 81 82 83 84 85 |
# File 'lib/rtx/api/collection.rb', line 80 def prev if has_previous? page([:page] -= 1) end self end |