Sha256: ad5da3039d2c5a0caee31eea7c64053f6a8f0460a9350419cb5f39e954cbd5b0

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

require 'mongodoc/validations/validates_embedded'

module MongoDoc
  module Validations
    module Macros
      def validates_embedded(*args)
        add_validations(args, MongoDoc::Validations::ValidatesEmbedded)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongodoc-0.2.4 lib/mongodoc/validations/macros.rb
mongodoc-0.2.2 lib/mongodoc/validations/macros.rb