module Actions module Candlepin module Owner class Destroy < Candlepin::Abstract input_format do param :label end def finalize output[:response] = ::Katello::Resources::Candlepin::Owner.destroy(input[:label]) end end end end end