Sha256: 046240c69d4305a33b75d00ffba6fdd6b02a7d59b32c4bd68f8ad8b879db33d6

Contents?: true

Size: 344 Bytes

Versions: 9

Compression:

Stored size: 344 Bytes

Contents

module Katello
  module Concerns
    module Api::V2::HostsControllerExtensions
      extend ActiveSupport::Concern
      include ForemanTasks::Triggers

      included do
        def destroy
          sync_task(::Actions::Katello::System::HostDestroy, @host)
          process_response(:object => @host)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katello-2.4.5 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.4 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.3 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.2 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.1 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.0 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.0.rc3 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.0.rc2 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb
katello-2.4.0.rc1 app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb