Module: Trustification

Defined in:
lib/branston/vendor/plugins/restful_authentication/lib/trustification.rb,
lib/branston/vendor/plugins/restful_authentication/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/branston/vendor/plugins/restful_authentication/lib/trustification.rb', line 2

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