Sha256: 74ad9ceb919a2369d023d9b58129f58a0f0a6c70c35ec060d12f6372120f9d8d

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

module KatelloForemanEngine
  module Actions
    class OrgCreate < Dynflow::Action

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katello-foreman-engine-0.0.3 lib/katello_foreman_engine/actions/org_create.rb
katello-foreman-engine-0.0.2 lib/katello_foreman_engine/actions/org_create.rb
katello-foreman-engine-0.0.1 lib/katello_foreman_engine/actions/org_create.rb