Module: Trustification

Defined in:
lib/trustification.rb,
lib/trustification/email_validation.rb

Defined Under Namespace

Modules: EmailValidation, ModelClassMethods, ModelInstanceMethods

Class Method Summary collapse

Class Method Details

.included(recipient) ⇒ Object



2
3
4
5
6
7
# File 'lib/trustification.rb', line 2

def self.included(recipient)
  recipient.extend(ModelClassMethods)
  recipient.class_eval do
    include ModelInstanceMethods
  end
end