module InsightsCloud
Public Class Methods
hits_export_url()
click to toggle source
# File lib/insights_cloud.rb, line 12 def self.hits_export_url ForemanRhCloud.base_url + '/api/insights/v1/export/hits/' end
rules_url(limit: ForemanRhCloud.query_limit, offset: 0)
click to toggle source
# File lib/insights_cloud.rb, line 16 def self.rules_url(limit: ForemanRhCloud.query_limit, offset: 0) ForemanRhCloud.base_url + "/api/insights/v1/rule/?impacting=true&rule_status=enabled&has_playbook=true&limit=#{limit}&offset=#{offset}" end