Class: Serverspec::Type::IisAppPool

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/iis_app_pool.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #to_ary

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#exists?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/serverspec/type/iis_app_pool.rb', line 4

def exists?()
  backend.check_iis_app_pool(@name)
end

#has_dotnet_version?(dotnet) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/serverspec/type/iis_app_pool.rb', line 8

def has_dotnet_version?(dotnet)
  backend.check_iis_app_pool_dotnet(@name, dotnet)
end

#to_sObject



12
13
14
# File 'lib/serverspec/type/iis_app_pool.rb', line 12

def to_s
  %Q[IIS Application Pool "#{@name}"]
end