Class: Inspec::Resources::IisSiteServerSpec
- Defined in:
 - lib/resources/iis_site.rb
 
Overview
for compatability with serverspec this is deprecated syntax and will be removed in future versions
Instance Method Summary collapse
- #in_app_pool?(app_pool) ⇒ Boolean
 - 
  
    
      #initialize(site_name)  ⇒ IisSiteServerSpec 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IisSiteServerSpec.
 
Methods inherited from IisSite
#app_pool, #bindings, #exists?, #has_app_pool?, #has_binding?, #has_path?, #iis_site, #path, #running?, #state, #to_s
Constructor Details
#initialize(site_name) ⇒ IisSiteServerSpec
Returns a new instance of IisSiteServerSpec.
      136 137 138 139  | 
    
      # File 'lib/resources/iis_site.rb', line 136 def initialize(site_name) Inspec.deprecate(:resource_iis_website, 'The `iis_website` resource is deprecated. Please use `iis_site` instead.') super(site_name) end  | 
  
Instance Method Details
#in_app_pool?(app_pool) ⇒ Boolean
      141 142 143  | 
    
      # File 'lib/resources/iis_site.rb', line 141 def in_app_pool?(app_pool) has_app_pool?(app_pool) end  |