Class: ForemanTasksCore::Runner::ExternalEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/foreman_tasks_core/runner/update.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject (readonly)

Returns the value of attribute data.



22
23
24
# File 'lib/foreman_tasks_core/runner/update.rb', line 22

def data
  @data
end