Module: MongoDoc::Validations

Defined in:
lib/mongo_doc/validations.rb,
lib/mongo_doc/validations/validates_embedded.rb

Defined Under Namespace

Modules: ValidatesEmbedded

Class Method Summary collapse

Class Method Details

.extended(klass) ⇒ Object



5
6
7
# File 'lib/mongo_doc/validations.rb', line 5

def self.extended(klass)
  klass.extend MongoDoc::Validations::ValidatesEmbedded
end