databasedotcom 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/databasedotcom/client.rb +5 -3
- data/lib/databasedotcom/version.rb +1 -1
- metadata +1 -1
@@ -47,7 +47,7 @@ module Databasedotcom
|
|
47
47
|
# version: 23.0
|
48
48
|
# sobject_module: My::Module
|
49
49
|
# ca_file: some/ca/file.cert
|
50
|
-
# verify_mode:
|
50
|
+
# verify_mode: OpenSSL::SSL::VERIFY_PEER
|
51
51
|
# * A Hash containing the following keys:
|
52
52
|
# client_id
|
53
53
|
# client_secret
|
@@ -55,9 +55,11 @@ module Databasedotcom
|
|
55
55
|
# debugging
|
56
56
|
# version
|
57
57
|
# sobject_module
|
58
|
+
# ca_file
|
59
|
+
# verify_mode
|
58
60
|
# If the environment variables DATABASEDOTCOM_CLIENT_ID, DATABASEDOTCOM_CLIENT_SECRET, DATABASEDOTCOM_HOST,
|
59
|
-
# DATABASEDOTCOM_DEBUGGING, DATABASEDOTCOM_VERSION, and/or
|
60
|
-
# override any other values provided
|
61
|
+
# DATABASEDOTCOM_DEBUGGING, DATABASEDOTCOM_VERSION, DATABASEDOTCOM_SOBJECT_MODULE, DATABASEDOTCOM_CA_FILE, and/or
|
62
|
+
# DATABASEDOTCOM_VERIFY_MODE are present, they override any other values provided
|
61
63
|
def initialize(options = {})
|
62
64
|
if options.is_a?(String)
|
63
65
|
@options = YAML.load_file(options)
|