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.5.2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.6.0.rc1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.5.1.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.5.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.5.0.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.5.0 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.5.0.rc2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.5.0.rc1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.5 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.4 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.0.2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.0.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.0 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.0.rc2 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.4.0.rc1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.1.1 app/lib/actions/candlepin/consumer/destroy.rb
katello-3.3.1 app/lib/actions/candlepin/consumer/destroy.rb