docusignsdk 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/docusignsdk.gemspec +1 -1
- data/lib/docusign/base.rb +9 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/docusignsdk.gemspec
CHANGED
data/lib/docusign/base.rb
CHANGED
@@ -21,6 +21,10 @@ module Docusign
|
|
21
21
|
|
22
22
|
connection = Docusign::APIServiceSoap.new
|
23
23
|
|
24
|
+
# newly added by Nick for Heroku SSL
|
25
|
+
connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
26
|
+
connection.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
|
27
|
+
|
24
28
|
if options[:integrators_key]
|
25
29
|
header = IntegratorsKeyAuthHeaderHandler.new(
|
26
30
|
:email => options.delete(:email),
|
@@ -46,6 +50,11 @@ module Docusign
|
|
46
50
|
def credentials(email, password, endpoint_url=nil)
|
47
51
|
|
48
52
|
connection = Docusign::Credential::CredentialSoap.new
|
53
|
+
|
54
|
+
# newly added by Nick for Heroku SSL
|
55
|
+
connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
56
|
+
connection.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
|
57
|
+
|
49
58
|
connection.endpoint_url = endpoint_url if endpoint_url
|
50
59
|
|
51
60
|
connection.login(:email => email, :password => password).loginResult
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- nicholas reed
|
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
hash: -
|
135
|
+
hash: -51166367
|
136
136
|
segments:
|
137
137
|
- 0
|
138
138
|
version: "0"
|