Sha256: babc5cec4bb275fa16ab456930b928ff7f620416bb31338e425dfc34dadc73d8

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

module Inetmgr

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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inetmgr-0.7.0 lib/inetmgr/iis_object/binding_information.rb