Sha256: 07c59c458c1e4483b8014df79bc39b2eebfe5a45cafb59d4ac3817b1286a37cc

Contents?: true

Size: 441 Bytes

Versions: 9

Compression:

Stored size: 441 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class Create < Pulp::Abstract
        include Helpers::Presenter

        input_format do
          param :uuid, String
          param :name, String
        end

        def run
          output[:response] = pulp_extensions.consumer.create(input[:uuid],
                                                               display_name: input[:name])
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 app/lib/actions/pulp/consumer/create.rb
katello-2.4.4 app/lib/actions/pulp/consumer/create.rb
katello-2.4.3 app/lib/actions/pulp/consumer/create.rb
katello-2.4.2 app/lib/actions/pulp/consumer/create.rb
katello-2.4.1 app/lib/actions/pulp/consumer/create.rb
katello-2.4.0 app/lib/actions/pulp/consumer/create.rb
katello-2.4.0.rc3 app/lib/actions/pulp/consumer/create.rb
katello-2.4.0.rc2 app/lib/actions/pulp/consumer/create.rb
katello-2.4.0.rc1 app/lib/actions/pulp/consumer/create.rb