Class: Katello::Agent::UpdatePackageMessage
- Inherits:
-
BaseMessage
- Object
- BaseMessage
- Katello::Agent::UpdatePackageMessage
- Defined in:
- app/lib/katello/agent/update_package_message.rb
Instance Attribute Summary
Attributes inherited from BaseMessage
#dispatch_history_id, #recipient_address, #reply_to
Instance Method Summary collapse
-
#initialize(content:, consumer_id:) ⇒ UpdatePackageMessage
constructor
A new instance of UpdatePackageMessage.
Methods inherited from BaseMessage
Constructor Details
#initialize(content:, consumer_id:) ⇒ UpdatePackageMessage
Returns a new instance of UpdatePackageMessage.
4 5 6 7 8 9 |
# File 'app/lib/katello/agent/update_package_message.rb', line 4 def initialize(content:, consumer_id:) @packages = content @consumer_id = consumer_id @content_type = 'rpm' @method = 'update' end |