Module: Closeio::Client::Report

Included in:
Closeio::Client
Defined in:
lib/closeio/resources/report.rb

Instance Method Summary collapse

Instance Method Details

#activity_report(organization_id, options = {}) ⇒ Object

OPTIONS [date_start, date_end, user_id]



6
7
8
# File 'lib/closeio/resources/report.rb', line 6

def activity_report(organization_id, options = {})
  get("report/activity/#{organization_id}/?", options)
end

#lead_status_report(organization_id, options = {}) ⇒ Object

OPTIONS [date_start, date_end]



11
12
13
# File 'lib/closeio/resources/report.rb', line 11

def lead_status_report(organization_id, options = {})
  get("report/statuses/lead/#{organization_id}/", options)
end

#sent_emails_report(organization_id, options = {}) ⇒ Object

OPTIONS [date_start, date_end, user_id]



16
17
18
# File 'lib/closeio/resources/report.rb', line 16

def sent_emails_report(organization_id, options = {})
  get("report/sent_email/#{organization_id}/", options)
end