Sha256: caa9f4ea7eb2399ece86bb901e85e9821c5b18606ec5644835e9fedf683d2b40
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
class SiteConfiguration < Configuration def initialize(name) super "MACHINE/WEBROOT/APPHOST/#{name}" end def get_app_settings get_collection "appSettings" end def get_connection_strings get_collection "connectionStrings" end def get_validation_settings IisObject.new get_admin_section("system.webServer/validation") end def get_static_content_settings IisObject.new get_admin_section("system.webServer/staticContent") end def get_service_model_settings IisObject.new get_admin_section("system.serviceModel") end private def get_collection(name) IisObjectCollection.new get_admin_section(name).Collection, :add, IisObject end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inetmgr-0.4.0 | lib/inetmgr/site_configuration.rb |