Module: Contactable::Email

Extended by:
ActiveSupport::Concern
Includes:
FieldsValidator
Included in:
Contactable
Defined in:
lib/morse_contactable/contactable.rb

Constant Summary collapse

REQUIRED_DATABASE_FIELDS =
%w{email}

Constants included from FieldsValidator

FieldsValidator::ERROR

Instance Method Summary collapse

Instance Method Details

#contactable_emailObject



38
39
40
# File 'lib/morse_contactable/contactable.rb', line 38

def contactable_email
  Contactable.collect_attributes(self,*REQUIRED_DATABASE_FIELDS)
end