Module: Mackerel::REST::Monitoring
- Included in:
- Client
- Defined in:
- lib/mackerel/monitoring.rb
Instance Method Summary collapse
Instance Method Details
#post_monitoring_check_report(reports) ⇒ Object
5 6 7 8 9 |
# File 'lib/mackerel/monitoring.rb', line 5 def post_monitoring_check_report(reports) command = ApiCommand.new(:post,'/api/v0/monitoring/checks/report', @api_key) command.body = reports.to_json command.execute(client) end |