Sha256: cb3f07e082b39d70fb62332566c1a3550b0f1a3e4366217b560f82305cf74ed3

Contents?: true

Size: 404 Bytes

Versions: 45

Compression:

Stored size: 404 Bytes

Contents

module Actions
  module Candlepin
    module Consumer
      class Destroy < Candlepin::Abstract
        input_format do
          param :uuid
        end

        def run
          ::Katello::Resources::Candlepin::Consumer.destroy(input[:uuid])
        rescue RestClient::Gone
          Rails.logger.error(_("Consumer %s has already been removed") % input[:uuid])
        end
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
katello-3.3.0.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.0 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.0.rc2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.0.rc1.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.0.rc1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.1.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.0 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.0.rc3 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.0.rc2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.0.rc1.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.2.0.rc1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.1.0.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.1.0 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.1.0.rc2.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.0.2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.1.0.rc1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.0.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.0.0 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.0.0.rc7 app/lib/actions/candlepin/consumer/destroy.rb