Sha256: 335b2708f37d830e691ecae8bf9d2e40a8d67e58dbcaef0da8277c026142831b

Contents?: true

Size: 393 Bytes

Versions: 45

Compression:

Stored size: 393 Bytes

Contents

module Actions
  module Katello
    module Host
      class Unregister < Actions::EntryAction
        middleware.use ::Actions::Middleware::RemoteAction

        def plan(host, options = {})
          plan_action(Katello::Host::Destroy, host, options.merge(:unregistering => true))
        end

        def humanized_name
          _("Unregister Host")
        end
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
katello-3.5.2 app/lib/actions/katello/host/unregister.rb
katello-3.6.0.rc1 app/lib/actions/katello/host/unregister.rb
katello-3.5.1.1 app/lib/actions/katello/host/unregister.rb
katello-3.5.1 app/lib/actions/katello/host/unregister.rb
katello-3.5.0.1 app/lib/actions/katello/host/unregister.rb
katello-3.5.0 app/lib/actions/katello/host/unregister.rb
katello-3.5.0.rc2 app/lib/actions/katello/host/unregister.rb
katello-3.5.0.rc1 app/lib/actions/katello/host/unregister.rb
katello-3.4.5 app/lib/actions/katello/host/unregister.rb
katello-3.4.4 app/lib/actions/katello/host/unregister.rb
katello-3.4.2 app/lib/actions/katello/host/unregister.rb
katello-3.4.1 app/lib/actions/katello/host/unregister.rb
katello-3.4.0.2 app/lib/actions/katello/host/unregister.rb
katello-3.4.0.1 app/lib/actions/katello/host/unregister.rb
katello-3.3.2 app/lib/actions/katello/host/unregister.rb
katello-3.4.0 app/lib/actions/katello/host/unregister.rb
katello-3.4.0.rc2 app/lib/actions/katello/host/unregister.rb
katello-3.4.0.rc1 app/lib/actions/katello/host/unregister.rb
katello-3.3.1.1 app/lib/actions/katello/host/unregister.rb
katello-3.3.1 app/lib/actions/katello/host/unregister.rb