Sha256: a4bb83171ab2fa0322d60d5e9f7f79ebbf666ac00c42c3723b5d8ef0c47fd111

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

class SiteLimit < IisObject

	prop :max_bandwidth, :maxBandwidth
	prop :max_connections, :maxConnections
	prop :connection_timeout, :connectionTimeout

end

class Site < IisObject

	# name
	# id

	prop :auto_start, :serverAutoStart

	collection :applications, :application, Application

    children :bindings, :binding, BindingInformation

	child :limits, :limits, SiteLimit

	def configure
		cfg = SiteConfiguration.new name
		yield cfg
		cfg.apply_changes
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.3.0-mswin32 lib/inetmgr/iis_object/site.rb