Class: KatelloForemanEngine::Actions::OrgCreate

Inherits:
Dynflow::Action
  • Object
show all
Defined in:
lib/katello_foreman_engine/actions/org_create.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.subscribeObject



17
18
19
# File 'lib/katello_foreman_engine/actions/org_create.rb', line 17

def self.subscribe
  Headpin::Actions::OrgCreate
end

Instance Method Details

#runObject



21
22
23
# File 'lib/katello_foreman_engine/actions/org_create.rb', line 21

def run
  Bindings.organization_create("KT-[#{input['label']}]")
end