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
Instance Method Summary collapse
Instance Method Details
#contactable_email ⇒ Object
38 39 40 |
# File 'lib/morse_contactable/contactable.rb', line 38 def contactable_email Contactable.collect_attributes(self,*REQUIRED_DATABASE_FIELDS) end |