Sha256: e101703ccdbc2208a0c4cf2ffc0db69f959401576f0d5d2d4553f71acea1c6b3
Contents?: true
Size: 308 Bytes
Versions: 4
Compression:
Stored size: 308 Bytes
Contents
module Saasable::ScopedDocument @scoped_documents = [] def self.included klass @scoped_documents << klass unless @scoped_documents.include? klass klass.class_eval do field :saas_id, :type => BSON::ObjectId end end def self.scoped_documents @scoped_documents end end
Version data entries
4 entries across 4 versions & 1 rubygems