Module: Bearcat::Client::AccountReports

Defined in:
lib/bearcat/client/account_reports.rb

Instance Method Summary collapse

Instance Method Details

#available_reports(account, params = {}) ⇒ Object



5
6
7
# File 'lib/bearcat/client/account_reports.rb', line 5

def available_reports(, params={})
  get("/api/v1/accounts/#{}/reports", params)
end

#report_index(account, report, params = {}) ⇒ Object



13
14
15
# File 'lib/bearcat/client/account_reports.rb', line 13

def report_index(, report, params={})
  get("/api/v1/accounts/#{}/reports/#{report}", params)
end

#report_status(account, report, report_id) ⇒ Object



17
18
19
# File 'lib/bearcat/client/account_reports.rb', line 17

def report_status(, report, report_id)
  get("/api/v1/accounts/#{}/reports/#{report}/#{report_id}")
end

#start_report(account, report, params) ⇒ Object



9
10
11
# File 'lib/bearcat/client/account_reports.rb', line 9

def start_report(, report, params)
  post("api/v1/accounts/#{}/reports/#{report}", params)
end