Class: Inetmgr::BindingInformation

Inherits:
IisObject
  • Object
show all
Defined in:
lib/inetmgr/iis_object/binding_information.rb

Instance Method Summary collapse

Methods inherited from IisObject

child, children, collection, #initialize, #invoke_method, prop

Constructor Details

This class inherits a constructor from Inetmgr::IisObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Inetmgr::IisObject

Instance Method Details

#add_ssl_certificate(thumprint, store) ⇒ Object



9
10
11
12
13
14
# File 'lib/inetmgr/iis_object/binding_information.rb', line 9

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

#disable_ds_mapperObject



24
25
26
# File 'lib/inetmgr/iis_object/binding_information.rb', line 24

def disable_ds_mapper
	invoke_method("DisableDsMapper")
end

#enable_ds_mapperObject



20
21
22
# File 'lib/inetmgr/iis_object/binding_information.rb', line 20

def enable_ds_mapper
	invoke_method("EnableDsMapper")
end

#remove_ssl_certificateObject



16
17
18
# File 'lib/inetmgr/iis_object/binding_information.rb', line 16

def remove_ssl_certificate
	invoke_method("RemoveSslCertificate")
end