Module: A2::Client::Reporting
- Included in:
- A2::Client
- Defined in:
- lib/a2/client/reporting.rb
Instance Method Summary collapse
Instance Method Details
#export_node_reports(json, output_file) ⇒ Object
4 5 6 |
# File 'lib/a2/client/reporting.rb', line 4 def export_node_reports(json, output_file) download_file '/api/v0/compliance/reporting/node/export', json, output_file end |
#list_reports(json) ⇒ Object
8 9 10 |
# File 'lib/a2/client/reporting.rb', line 8 def list_reports(json) post '/api/v0/compliance/reporting/reports', json end |