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.0.0.rc5 app/lib/actions/katello/host/unregister.rb
katello-3.0.0.rc4 app/lib/actions/katello/host/unregister.rb
katello-3.0.0.rc3 app/lib/actions/katello/host/unregister.rb
katello-3.0.0.rc2 app/lib/actions/katello/host/unregister.rb
katello-3.0.0.rc1 app/lib/actions/katello/host/unregister.rb