Class: ForemanRhCloud::URLRemediationsRetriever
- Inherits:
-
RemediationsRetriever
- Object
- RemediationsRetriever
- ForemanRhCloud::URLRemediationsRetriever
- Defined in:
- app/services/foreman_rh_cloud/url_remediations_retriever.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from RemediationsRetriever
Instance Method Summary collapse
-
#initialize(url:, organization_id:, payload: '', headers: {}, logger: Logger.new(IO::NULL)) ⇒ URLRemediationsRetriever
constructor
A new instance of URLRemediationsRetriever.
Methods inherited from RemediationsRetriever
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
Constructor Details
#initialize(url:, organization_id:, payload: '', headers: {}, logger: Logger.new(IO::NULL)) ⇒ URLRemediationsRetriever
Returns a new instance of URLRemediationsRetriever.
5 6 7 8 9 10 11 12 |
# File 'app/services/foreman_rh_cloud/url_remediations_retriever.rb', line 5 def initialize(url:, organization_id:, payload: '', headers: {}, logger: Logger.new(IO::NULL)) super(logger: logger) @url = url @payload = payload @headers = headers @organization_id = organization_id end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'app/services/foreman_rh_cloud/url_remediations_retriever.rb', line 3 def url @url end |