module Bearcat class Client < Footrest::Client module Reports def report_list(account) get("/api/v1/accounts/#{account}/reports") end def start_report(account, report_name, params = {}) post("/api/v1/accounts/#{account}/reports/#{report_name}", params) end def report_history(account, report_name) get("/api/v1/accounts/#{account}/reports/#{report_name}") end def report_status(account, report_name, report_id) get("/api/v1/accounts/#{account}/reports/#{report_name}/#{report_id}") end def delete_report(account, report_name, report_id) delete("/api/v1/accounts/#{account}/reports/#{report_name}/#{report_id}") end end end end