Mixin: deny

deny

This mixin specifies methods which are not allowed.
Source:

Example

var MyKago = KagoDB.inherit();
var deny = KagoDB.bundle.deny;
MyKago.mixin(deny({write:-1}));

var collection = MyKago();
collection.write(); // => 'Error: method denied: write'