app/lib/actions/candlepin/product/content_destroy.rb
module Actions
module Candlepin
module Product
class ContentDestroy < Candlepin::Abstract
input_format do
param :content_id
param :owner
end
def run
output[:response] = ::Katello::Resources::Candlepin::Content.
destroy(input[:owner], input[:content_id])
end
end
end
end
end