lib/balanced/pager.rb in balanced-0.5.5 vs lib/balanced/pager.rb in balanced-0.5.6
- old
+ new
@@ -6,9 +6,15 @@
DEFAULT_LIMIT = 10
include Enumerable
# A pager for paginating through resource records.
+ #
+ # @param [String] uri the uri of the resource
+ # @param [Hash] options
+ # @option options [Integer] limit
+ # @option options [Integer] offset
+ # @option options [Integer] per an alias for the :limit option
def initialize uri, options = {}
@uri = uri
@options = options
@page = nil
@resource_class = nil
\ No newline at end of file