Sha256: cc50b3e10878558f08779c483f60cc7c52b4b1ea990897160504e577db7bba26

Contents?: true

Size: 406 Bytes

Versions: 143

Compression:

Stored size: 406 Bytes

Contents

module Actions
  module Pulp
    module Consumer
      class Destroy < Pulp::Abstract
        input_format do
          param :uuid, String
        end

        def run
          pulp_extensions.consumer.delete(self.input[:uuid])
        rescue RestClient::ResourceNotFound
          Rails.logger.error(_("Pulp Consumer %s has already been removed") % input[:uuid])
        end
      end
    end
  end
end

Version data entries

143 entries across 143 versions & 1 rubygems

Version Path
katello-4.0.3 app/lib/actions/pulp/consumer/destroy.rb
katello-3.18.5 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.2.1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.2 app/lib/actions/pulp/consumer/destroy.rb
katello-3.18.4 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.1.2 app/lib/actions/pulp/consumer/destroy.rb
katello-3.18.3.1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.1.0.rc2.2 app/lib/actions/pulp/consumer/destroy.rb
katello-4.1.0.rc2.1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.1.1 app/lib/actions/pulp/consumer/destroy.rb
katello-3.18.3 app/lib/actions/pulp/consumer/destroy.rb
katello-4.1.0.rc2 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.1.0.rc1.1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.1.0.rc1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.0 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.0.rc3.1 app/lib/actions/pulp/consumer/destroy.rb
katello-4.0.0.rc3 app/lib/actions/pulp/consumer/destroy.rb
katello-3.18.2.1 app/lib/actions/pulp/consumer/destroy.rb
katello-3.18.2 app/lib/actions/pulp/consumer/destroy.rb