module MsRest
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
Constants
- VERSION
Public Class Methods
@return [Hash] Hash of SSL options to be used for Faraday connection.
# File lib/ms_rest/service_client.rb, line 112 def self.ssl_options @@ssl_options end
Stores the SSL options to be used for Faraday connections.
Examples¶ ↑
MsRest.use_ssl_cert # => Uses bundled certificate for all the connections MsRest.use_ssl_cert({:ca_file => "path_to_ca_file"}) # => Uses supplied certificate for all the connections
@param ssl_options
[Hash] Hash of SSL options for Faraday connection. It defaults to the bundled certificate.
# File lib/ms_rest/service_client.rb, line 101 def self.use_ssl_cert(ssl_options = nil) if ssl_options.nil? @@ssl_options = {:ca_file => File.expand_path(File.join(File.dirname(__FILE__), '../..', 'ca-cert.pem')) } else @@ssl_options = ssl_options end end