Module: CouchRest::Mixins::PaginatedResults

Defined in:
lib/couchrest/mixins/collection.rb

Instance Method Summary collapse

Instance Method Details

#amount_pagesObject



4
5
6
# File 'lib/couchrest/mixins/collection.rb', line 4

def amount_pages
  @amount_pages ||= 0
end

#amount_pages=(value) ⇒ Object



7
8
9
# File 'lib/couchrest/mixins/collection.rb', line 7

def amount_pages=(value)
  @amount_pages = value
end