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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46b9e7f90a71c25d62239c0076039d68dc5c466b
4
- data.tar.gz: 4dfa6fe5817e20ee819da3046ac0bea6aa99a7a4
3
+ metadata.gz: ab42c668e0ecd01a0a7a564fd177e4e0c58ddcaf
4
+ data.tar.gz: 4d08fe3279bb52f31115011f1aa3de9170654811
5
5
  SHA512:
6
- metadata.gz: 0561fb3f0e47d7b0697846b57e9435540d2da4d1b36782c10b07f9514513a888610ab0972014b7fde8d1351da96e6fbdaa20b97b7842997a15c1ceee8242d6ad
7
- data.tar.gz: 3488735ccd50a0c1d2219ca07ef84f7a56d091355eca7b47c31980776588824bf51aa9b70325a923f1c4b73e0f6cecd8aa401a995763af190c78168dd5552ca6
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
@@ -1,3 +1,3 @@
1
1
  module AthenaHealth
2
- VERSION = '1.0.37'.freeze
2
+ VERSION = '1.0.38'.freeze
3
3
  end
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.37
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-20 00:00:00.000000000 Z
11
+ date: 2016-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus