Class: ForemanRhCloud::HitRemediationsRetriever

Inherits:
RemediationsRetriever show all
Defined in:
app/services/foreman_rh_cloud/hit_remediations_retriever.rb

Instance Attribute Summary

Attributes inherited from RemediationsRetriever

#logger

Instance Method Summary collapse

Methods inherited from RemediationsRetriever

#create_playbook

Methods included from CertAuth

#cert_auth_available?, #execute_cloud_request

Methods included from InsightsCloud::CandlepinCache

#candlepin_id_cert, #cp_owner_id, #upstream_owner

Methods included from CloudRequest

#execute_cloud_request

Constructor Details

#initialize(hit_remediation_pairs, logger: Logger.new(IO::NULL)) ⇒ HitRemediationsRetriever

Returns a new instance of HitRemediationsRetriever.



3
4
5
6
7
# File 'app/services/foreman_rh_cloud/hit_remediations_retriever.rb', line 3

def initialize(hit_remediation_pairs, logger: Logger.new(IO::NULL))
  super(logger: logger)
  @hit_remediation_pairs = hit_remediation_pairs
  logger.debug("Querying playbook for #{hit_remediation_pairs}")
end