Sha256: c9a1029957d5ba4efd4bb7dba02f333e34342972f4d60bd59b3cbbd4a16038db

Contents?: true

Size: 578 Bytes

Versions: 2

Compression:

Stored size: 578 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), 'site_limit.rb')
require File.join(File.expand_path(File.dirname(__FILE__)), 'binding_information.rb')
require File.join(File.expand_path(File.dirname(__FILE__)), 'application.rb')

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

2 entries across 2 versions & 1 rubygems

Version Path
inetmgr-0.5.0 lib/inetmgr/iis_object/site.rb
inetmgr-0.4.0 lib/inetmgr/iis_object/site.rb