Module: SimplyCouch::Model::Persistence::Revisions
- Defined in:
- lib/simply_couch/model/persistence.rb
Overview
── Revisions ────────────────────────────────────────────────────────
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
320 321 322 323 324 325 326 327 |
# File 'lib/simply_couch/model/persistence.rb', line 320 def self.included(base) base.class_eval do def self.revisions(ids) return [] if ids.empty? database.couchrest_database.bulk_load(ids) end end end |