Sha256: 7864aaa0a9a39507ee51e6e9d5de286b00806f725d73183ed2dd3d7d68eefed3

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

require('will_paginate_couchrest/class_methods')
require('will_paginate_couchrest/proxy_methods')

# Take the liberty of adding ourself to the couchrest library

module CouchRest
  class ExtendedDocument < Document
    include CouchRest::Mixins::WillPaginate
  end
end

module CouchRest
  module Mixins
    module ClassProxy
      class Proxy
        include CouchRest::Mixins::WillPaginate::ProxyMethods
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
will_paginate_couchrest-0.2.2 lib/will_paginate_couchrest.rb
will_paginate_couchrest-0.2.0 lib/will_paginate_couchrest.rb