Sha256: 1d3290656fda78711d73d64d590b73bc2b50b2e06438917c64feb5598fa7138c

Contents?: true

Size: 630 Bytes

Versions: 3

Compression:

Stored size: 630 Bytes

Contents

class BindingInformation < IisObject

	prop :protocol, :protocol
	prop :binding_information, :bindingInformation
	prop :ds_mapper_enabled?, :isDsMapperEnabled

	def add_ssl_certificate thumprint, store
		invoke_method("AddSslCertificate") do |method|
			method.Input.Properties.Item("certificateHash").Value = thumprint
			method.Input.Properties.Item("certificateStoreName").Value = store
		end
	end

	def remove_ssl_certificate
		invoke_method("RemoveSslCertificate")
	end

	def enable_ds_mapper
		invoke_method("EnableDsMapper")
	end

	def disable_ds_mapper
		invoke_method("DisableDsMapper")
	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inetmgr-0.6.0 lib/inetmgr/iis_object/binding_information.rb
inetmgr-0.5.0 lib/inetmgr/iis_object/binding_information.rb
inetmgr-0.4.0 lib/inetmgr/iis_object/binding_information.rb