acc 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/acc/service.rb +1 -1
- data/lib/acc/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjgzMTZmYWQzOWRhNjQxYmM5NDAzNzhhZTczNTg0NjcyNDI3OTc5OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTlhMWZhZjhhMzU4NGM3YThmZmQ4NjY5YzA1NGJjM2ZmZDE0NWI0MA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTY0MjFjMzczZDVhM2UxNmM2ODczZmRiNzJhNGI1MTRjNzBiMThiYTdjMGU1
|
10
|
+
YTc3Yzg4ZTBiYzFjZjZjNWMwYTk5ZmQwYWU3ZGM2MTIyMmZmNzlhZGZkY2Vh
|
11
|
+
NTBmYjc1YzFmZjlhMDdmNmY2ZTdlNzg0MjFhNDgyZWU2OGM4Nzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGUzZGRmM2YxMGYxYTgzMWY5YmY1M2NiN2U3MjQ4MzI2YjJjYzFhNWQxNWUz
|
14
|
+
MTIyY2E5ZjljNGVjODdjYWJkNGY0NTJkNDFkYzY5ODExMzI3NjBkMGFiMzkw
|
15
|
+
Mjg0MjU0NjBmMDZjZmYzYTFkNDY3ODdkNmVhMzk3OTVkN2JkZGU=
|
data/lib/acc/service.rb
CHANGED
@@ -21,7 +21,7 @@ class Acc::Service
|
|
21
21
|
def request url, data
|
22
22
|
http_response = Curl::Easy.perform(url) do |req|
|
23
23
|
req.cert = Acc.certificate
|
24
|
-
req.
|
24
|
+
req.cert_key = Acc.certificate_key if Acc.certificate_key
|
25
25
|
req.certpassword = Acc.certificate_password if Acc.certificate_password
|
26
26
|
req.post_body = data
|
27
27
|
req.headers['Content-Type'] = 'application/json'
|
data/lib/acc/version.rb
CHANGED