athena_health 1.0.37 → 1.0.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/athena_health/connection.rb +4 -0
- data/lib/athena_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab42c668e0ecd01a0a7a564fd177e4e0c58ddcaf
|
4
|
+
data.tar.gz: 4d08fe3279bb52f31115011f1aa3de9170654811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48f62a38faeea6d7879003767c5fd723eb1ce4e9787c648b9ccedad60a78bcbc1e1603fc5f80369423c0195bde7090961f627779273e11005a742a6e1e31618e
|
7
|
+
data.tar.gz: 5e3c6ed94b0e795dbf41eb9a02512f3540b71bccbf5a35b294becb5c8426a43935897ceebefbead08a88851038ba63919e0fc79ec468518642d2e17a71214124
|
@@ -38,6 +38,10 @@ module AthenaHealth
|
|
38
38
|
return call(endpoint: endpoint, method: method, second_call: true, body: body, params: params)
|
39
39
|
end
|
40
40
|
|
41
|
+
if response.response_code == 403 && !second_call
|
42
|
+
return call(endpoint: endpoint, method: method, second_call: true, body: body, params: params)
|
43
|
+
end
|
44
|
+
|
41
45
|
body = response.response_body
|
42
46
|
|
43
47
|
if [400, 409].include? response.response_code
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: athena_health
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Urbański
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|