Method: Contacts#get_online_activity
- Defined in:
- lib/user/crm/contacts.rb
#get_online_activity(id) ⇒ Object
Get online activity.
Get online activity of a contact.
Parameters
- id
-
(Integer) – Contact id.
Example
@data = @mints_user.get_online_activity(5)
26 27 28 |
# File 'lib/user/crm/contacts.rb', line 26 def get_online_activity(id) @client.raw('get', "/crm/contacts/#{id}/online-activity") end |