Module: Teamlab::MailContacts

Included in:
Mail
Defined in:
lib/teamlab/modules/mail/mail_contacts.rb

Overview

Methods for working with mail contacts

Instance Method Summary collapse

Instance Method Details

#get_contact_list_for_auto_complete(term) ⇒ Object



6
7
8
# File 'lib/teamlab/modules/mail/mail_contacts.rb', line 6

def get_contact_list_for_auto_complete(term)
  @request.get(%w[contacts], term: term)
end

#get_crm_linked_entities(message_id) ⇒ Object



10
11
12
# File 'lib/teamlab/modules/mail/mail_contacts.rb', line 10

def get_crm_linked_entities(message_id)
  @request.get(%w[crm linked entities], messageId: message_id)
end