Module: ActiveResource::Pagination

Defined in:
lib/active_resource/pagination.rb

Defined Under Namespace

Classes: PagedArray, PagingFormatter

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/active_resource/pagination.rb', line 3

def self.included(base)
  base.format = PagingFormatter.new(base.collection_name)
end