Class: ForemanTasksCore::Runner::ExternalEvent
- Inherits:
-
Object
- Object
- ForemanTasksCore::Runner::ExternalEvent
- Defined in:
- lib/foreman_tasks_core/runner/update.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ExternalEvent
constructor
A new instance of ExternalEvent.
Constructor Details
#initialize(data = {}) ⇒ ExternalEvent
Returns a new instance of ExternalEvent.
23 24 25 |
# File 'lib/foreman_tasks_core/runner/update.rb', line 23 def initialize(data = {}) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
22 23 24 |
# File 'lib/foreman_tasks_core/runner/update.rb', line 22 def data @data end |