Module: Contactable::Phone
- Extended by:
- ActiveSupport::Concern
- Includes:
- FieldsValidator
- Included in:
- Contactable
- Defined in:
- lib/morse_contactable/contactable.rb
Constant Summary collapse
- REQUIRED_DATABASE_FIELDS =
%w{phone mobile}
Constants included from FieldsValidator
Instance Method Summary collapse
Instance Method Details
#contactable_phone ⇒ Object
68 69 70 |
# File 'lib/morse_contactable/contactable.rb', line 68 def contactable_phone Contactable.collect_attributes(self,*REQUIRED_DATABASE_FIELDS) end |