pokitdok-ruby 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/pokitdok.rb +12 -1
- data/pokitdok-ruby.gemspec +5 -3
- data/spec/fixtures/claims_status.json +15 -0
- data/spec/pokitdok_spec.rb +16 -2
- data/vcr_cassettes/activities.yml +612 -381
- data/vcr_cassettes/auth.yml +5 -5
- data/vcr_cassettes/cash_prices.yml +11 -8
- data/vcr_cassettes/claims.yml +11 -11
- data/vcr_cassettes/claims_status.yml +61 -0
- data/vcr_cassettes/eligibility.yml +12 -12
- data/vcr_cassettes/enrollment.yml +37 -37
- data/vcr_cassettes/files.yml +11 -11
- data/vcr_cassettes/insurance_prices.yml +17 -8
- data/vcr_cassettes/payers.yml +104 -104
- data/vcr_cassettes/providers.yml +20 -20
- metadata +4 -2
data/vcr_cassettes/providers.yml
CHANGED
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.9.0
|
12
12
|
Authorization:
|
13
|
-
- Bearer
|
13
|
+
- Bearer fKd12YNbilTwVe8D3eF1ReNBkGzoElJuUjyt5ehz
|
14
14
|
Accept-Encoding:
|
15
15
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
16
|
Accept:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Server:
|
30
30
|
- Werkzeug/0.9.4 Python/2.7.3
|
31
31
|
Date:
|
32
|
-
- Tue,
|
32
|
+
- Tue, 05 Aug 2014 18:15:14 GMT
|
33
33
|
body:
|
34
34
|
encoding: UTF-8
|
35
35
|
string: |-
|
@@ -38,7 +38,7 @@ http_interactions:
|
|
38
38
|
<h1>Redirecting...</h1>
|
39
39
|
<p>You should be redirected automatically to target URL: <a href="http://localhost:5002/api/v4/providers/?npi=1467560003">http://localhost:5002/api/v4/providers/?npi=1467560003</a>. If not click the link.
|
40
40
|
http_version:
|
41
|
-
recorded_at: Tue,
|
41
|
+
recorded_at: Tue, 05 Aug 2014 18:22:46 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
44
|
uri: http://localhost:5002/api/v4/providers/?npi=1467560003
|
@@ -49,7 +49,7 @@ http_interactions:
|
|
49
49
|
User-Agent:
|
50
50
|
- Faraday v0.9.0
|
51
51
|
Authorization:
|
52
|
-
- Bearer
|
52
|
+
- Bearer fKd12YNbilTwVe8D3eF1ReNBkGzoElJuUjyt5ehz
|
53
53
|
Accept-Encoding:
|
54
54
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
55
|
Accept:
|
@@ -62,7 +62,7 @@ http_interactions:
|
|
62
62
|
Content-Type:
|
63
63
|
- text/html; charset=utf-8
|
64
64
|
Content-Length:
|
65
|
-
- '
|
65
|
+
- '1058'
|
66
66
|
Mimetype:
|
67
67
|
- application/json
|
68
68
|
Charset:
|
@@ -70,22 +70,22 @@ http_interactions:
|
|
70
70
|
Server:
|
71
71
|
- Werkzeug/0.9.4 Python/2.7.3
|
72
72
|
Date:
|
73
|
-
- Tue,
|
73
|
+
- Tue, 05 Aug 2014 18:15:14 GMT
|
74
74
|
body:
|
75
75
|
encoding: UTF-8
|
76
|
-
string: '{"meta": {"rate_limit_amount":
|
77
|
-
"
|
78
|
-
"
|
79
|
-
"
|
80
|
-
|
81
|
-
"
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
88
|
-
|
76
|
+
string: '{"meta": {"rate_limit_amount": 9, "rate_limit_reset": 1407266111, "processing_time":
|
77
|
+
80, "rate_limit_cap": 8434, "credits_remaining": 9998, "credits_billed": 1},
|
78
|
+
"data": [{"provider": {"first_name": "JEROME", "last_name": "AYA-AY", "middle_name":
|
79
|
+
"BENITEZ", "uuid": "fc44d0e0-ea7f-492e-90f0-0f9148453019", "locations": [{"address_lines":
|
80
|
+
["8311 WARREN H ABERNATHY HWY"], "city": "SPARTANBURG", "country": "US", "zipcode":
|
81
|
+
"29301", "state": "SC", "geo_location": [-82.014564, 34.93627], "role": ["practice",
|
82
|
+
"primary"]}, {"address_lines": ["408 LITCHFIELD DR"], "city": "MOORE", "zipcode":
|
83
|
+
"29369", "state": "SC", "geo_location": [-81.97699, 34.8981], "role": ["mailing"]}],
|
84
|
+
"gender": "Male", "fax": "8645604413", "specialty": ["General & Family Medicine",
|
85
|
+
"Family Practice", "Family Medicine"], "phone": "8645604304", "prefix": "DR",
|
86
|
+
"birth_date": "1972", "npi": "1467560003", "licenses": [{"state": "SC", "number":
|
87
|
+
"27210"}], "education": {"medical_school": "J C EDWARDS SCH MED MARSHALL U,
|
88
|
+
HUNTINGTON WV 2575", "graduation_year": "2004-01-01T00:00:00"}}}]}'
|
89
89
|
http_version:
|
90
|
-
recorded_at: Tue,
|
90
|
+
recorded_at: Tue, 05 Aug 2014 18:22:46 GMT
|
91
91
|
recorded_with: VCR 2.9.2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pokitdok-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Riney
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -282,6 +282,7 @@ files:
|
|
282
282
|
- lib/pokitdok.rb
|
283
283
|
- pokitdok-ruby.gemspec
|
284
284
|
- spec/fixtures/claim.json
|
285
|
+
- spec/fixtures/claims_status.json
|
285
286
|
- spec/fixtures/enrollment.json
|
286
287
|
- spec/fixtures/sample.270
|
287
288
|
- spec/pokitdok_spec.rb
|
@@ -291,6 +292,7 @@ files:
|
|
291
292
|
- vcr_cassettes/auth.yml
|
292
293
|
- vcr_cassettes/cash_prices.yml
|
293
294
|
- vcr_cassettes/claims.yml
|
295
|
+
- vcr_cassettes/claims_status.yml
|
294
296
|
- vcr_cassettes/eligibility.yml
|
295
297
|
- vcr_cassettes/enrollment.yml
|
296
298
|
- vcr_cassettes/files.yml
|