Module: DbStore::VersionConfig

Defined in:
lib/wherever/db_store/lookup.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



22
23
24
25
26
# File 'lib/wherever/db_store/lookup.rb', line 22

def self.included(base)
  base.send :include, Mongoid::Document
  base.field :name, :type => String
  base.field :values, :type => Hash, :default => Hash.new(0)
end