Module: Clinical::Contact
- Included in:
- LocationContact, OverallOfficial
- Defined in:
- lib/clinical/contact.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/clinical/contact.rb', line 3 def self.included(base) base.class_eval do include HappyMapper include Clinical::Contact::InstanceMethods element :first_name, String element :middle_name, String element :last_name, String element :degrees, String element :phone, String element :phone_extension, String, :tag => "phone_ext" element :email, String end end |