Class: AutotaskAPI::Contact

Inherits:
Entity
  • Object
show all
Defined in:
lib/autotask_api/contact.rb

Instance Attribute Summary

Attributes inherited from Entity

#attributes, #raw_xml

Instance Method Summary collapse

Methods inherited from Entity

belongs_to, find, has_one, #initialize, #method_missing

Constructor Details

This class inherits a constructor from AutotaskAPI::Entity

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class AutotaskAPI::Entity

Instance Method Details

#emailObject


9
10
11
# File 'lib/autotask_api/contact.rb', line 9

def email
  e_mail_address
end

#full_nameObject


5
6
7
# File 'lib/autotask_api/contact.rb', line 5

def full_name
  [ first_name, last_name ].join(' ')
end