pokitdok-ruby 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/Gemfile +1 -0
- data/Gemfile.lock +13 -0
- data/Guardfile +4 -4
- data/README.md +32 -15
- data/Rakefile +3 -0
- data/VERSION +1 -1
- data/lib/pokitdok.rb +17 -32
- data/pokitdok-ruby.gemspec +6 -4
- data/spec/fixtures/claim.json +44 -114
- data/spec/pokitdok_spec.rb +35 -38
- data/vcr_cassettes/activities.yml +202 -333
- data/vcr_cassettes/auth.yml +4 -4
- data/vcr_cassettes/claims.yml +36 -65
- data/vcr_cassettes/eligibility.yml +73 -93
- data/vcr_cassettes/enrollment.yml +38 -41
- data/vcr_cassettes/files.yml +10 -10
- data/vcr_cassettes/payers.yml +81 -77
- data/vcr_cassettes/providers.yml +308 -297
- metadata +16 -3
- data/vcr_cassettes/insurance_prices.yml +0 -42
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
|
+
version: 0.3.0
|
|
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-06-
|
|
11
|
+
date: 2014-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth2
|
|
@@ -248,6 +248,20 @@ dependencies:
|
|
|
248
248
|
- - "~>"
|
|
249
249
|
- !ruby/object:Gem::Version
|
|
250
250
|
version: '1.0'
|
|
251
|
+
- !ruby/object:Gem::Dependency
|
|
252
|
+
name: coveralls
|
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
|
254
|
+
requirements:
|
|
255
|
+
- - ">="
|
|
256
|
+
- !ruby/object:Gem::Version
|
|
257
|
+
version: '0'
|
|
258
|
+
type: :development
|
|
259
|
+
prerelease: false
|
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
261
|
+
requirements:
|
|
262
|
+
- - ">="
|
|
263
|
+
- !ruby/object:Gem::Version
|
|
264
|
+
version: '0'
|
|
251
265
|
description: Gem for easy access to the PokitDok Platform APIs.
|
|
252
266
|
email: john.riney@pokitdok.com
|
|
253
267
|
executables: []
|
|
@@ -279,7 +293,6 @@ files:
|
|
|
279
293
|
- vcr_cassettes/eligibility.yml
|
|
280
294
|
- vcr_cassettes/enrollment.yml
|
|
281
295
|
- vcr_cassettes/files.yml
|
|
282
|
-
- vcr_cassettes/insurance_prices.yml
|
|
283
296
|
- vcr_cassettes/payers.yml
|
|
284
297
|
- vcr_cassettes/providers.yml
|
|
285
298
|
homepage: http://github.com/pokitdok/pokitdok-ruby
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
http_interactions:
|
|
3
|
-
- request:
|
|
4
|
-
method: get
|
|
5
|
-
uri: http://localhost:5002/api/v3/prices/insurance?cpt_code=12345&zip_code=54321
|
|
6
|
-
body:
|
|
7
|
-
encoding: US-ASCII
|
|
8
|
-
string: ''
|
|
9
|
-
headers:
|
|
10
|
-
User-Agent:
|
|
11
|
-
- pokitdok-ruby 0.2.1 ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
|
|
12
|
-
Authorization:
|
|
13
|
-
- Bearer BR8J2PXhCIVnkwWLRsESQWSI198fztONOGc6Evlf
|
|
14
|
-
Accept-Encoding:
|
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
16
|
-
Accept:
|
|
17
|
-
- "*/*"
|
|
18
|
-
response:
|
|
19
|
-
status:
|
|
20
|
-
code: 200
|
|
21
|
-
message: OK
|
|
22
|
-
headers:
|
|
23
|
-
Content-Type:
|
|
24
|
-
- text/html; charset=utf-8
|
|
25
|
-
Content-Length:
|
|
26
|
-
- '232'
|
|
27
|
-
Mimetype:
|
|
28
|
-
- application/json
|
|
29
|
-
Charset:
|
|
30
|
-
- utf-8
|
|
31
|
-
Server:
|
|
32
|
-
- Werkzeug/0.9.4 Python/2.7.3
|
|
33
|
-
Date:
|
|
34
|
-
- Tue, 03 Jun 2014 20:30:49 GMT
|
|
35
|
-
body:
|
|
36
|
-
encoding: UTF-8
|
|
37
|
-
string: '{"meta": {"rate_limit_amount": 30, "rate_limit_reset": 1401829297,
|
|
38
|
-
"processing_time": 6, "rate_limit_cap": 8434, "credits_remaining": 9959, "credits_billed":
|
|
39
|
-
1}, "data": {"errors": "No price range was found for the given criteria"}}'
|
|
40
|
-
http_version:
|
|
41
|
-
recorded_at: Tue, 03 Jun 2014 20:30:49 GMT
|
|
42
|
-
recorded_with: VCR 2.9.2
|