Module: Atlas::Validations

Included in:
Resource
Defined in:
lib/atlas/mixins/validations.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
# File 'lib/atlas/mixins/validations.rb', line 3

def self.included(base)
  base.send(:include, InstanceMethods)
  base.extend(ClassMethods)
end