eligible 2.6.2 → 2.6.3
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/README.md +0 -79
- data/lib/eligible.rb +3 -1
- data/lib/eligible/payment.rb +4 -0
- data/lib/eligible/precert.rb +4 -0
- data/lib/eligible/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da18474884d59a0565557e8a8487bcefe6d59573
|
4
|
+
data.tar.gz: 7c3024bc51c02f10c087d35239c2b97df8801cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45f5d12efe62a34b613450faf9f6551f3432fcf5eaf913c4acc5e8f81c0d4e57cf68e49bad392d70c5b71139c728060b47aff5ee8661277c465612c82da3e63a
|
7
|
+
data.tar.gz: 56b996a4a1ef68f8d72ff656ffafd452d7ebba03156a75e0534f6b062bb0405cc4757ee07e089b8613c610e2d0f9bd0a7cf97924c60b3cb9293cd7e9d267bb05
|
data/README.md
CHANGED
@@ -186,85 +186,6 @@ medicare.to_hash # returns all coverage info for the request
|
|
186
186
|
medicare.error # return error, if any
|
187
187
|
```
|
188
188
|
|
189
|
-
## Batch API
|
190
|
-
|
191
|
-
All the batch api calls will notify the results via webhook. You can
|
192
|
-
setup a webhook in your
|
193
|
-
[Dashboard](https://eligible.com/dashboard/webhooks). All batch api
|
194
|
-
calls return a *reference_id* value and the *number_of_items*
|
195
|
-
submitted.
|
196
|
-
|
197
|
-
### Coverage Batch API
|
198
|
-
|
199
|
-
```ruby
|
200
|
-
params = {
|
201
|
-
"api_key"=>"81ef98e5-4584-19fb-0d8c-6e987b95d695",
|
202
|
-
"parameters"=>[
|
203
|
-
{
|
204
|
-
"id"=>1,
|
205
|
-
"payer_name"=>"UnitedHealthCare",
|
206
|
-
"payer_id"=>"00112",
|
207
|
-
"service_provider_npi"=>"12341234",
|
208
|
-
"subscriber_id"=>"98769876",
|
209
|
-
"subscriber_first_name"=>"Jane",
|
210
|
-
"subscriber_last_name"=>"Austen",
|
211
|
-
"service_provider_last_name"=>"Gaurav",
|
212
|
-
"service_provider_first_name"=>"Gupta",
|
213
|
-
"subscriber_dob"=>"1947-10-07"
|
214
|
-
},
|
215
|
-
{
|
216
|
-
"id"=>2,
|
217
|
-
"payer_name"=>"UnitedHealthCare",
|
218
|
-
"payer_id"=>"00112",
|
219
|
-
"service_provider_npi"=>"67676767",
|
220
|
-
"subscriber_id"=>"98989898",
|
221
|
-
"subscriber_first_name"=>"Gaurav",
|
222
|
-
"subscriber_last_name"=>"Gupta",
|
223
|
-
"service_provider_last_name"=>"Jane",
|
224
|
-
"service_provider_first_name"=>"Austen",
|
225
|
-
"subscriber_dob"=>"1947-08-15"
|
226
|
-
}
|
227
|
-
]
|
228
|
-
}
|
229
|
-
|
230
|
-
result = Eligible::Coverage.batch_post(params)
|
231
|
-
result.to_hash # returns the api call results
|
232
|
-
result.error # return error, if any
|
233
|
-
```
|
234
|
-
|
235
|
-
### Medicare Batch API
|
236
|
-
|
237
|
-
```ruby
|
238
|
-
params = {
|
239
|
-
"parameters"=>[
|
240
|
-
{
|
241
|
-
"id"=>1,
|
242
|
-
"service_provider_npi"=>"12341234",
|
243
|
-
"subscriber_id"=>"98769876",
|
244
|
-
"subscriber_first_name"=>"Jane",
|
245
|
-
"subscriber_last_name"=>"Austen",
|
246
|
-
"service_provider_last_name"=>"Gaurav",
|
247
|
-
"service_provider_first_name"=>"Gupta",
|
248
|
-
"subscriber_dob"=>"1947-10-07"
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"id"=>2,
|
252
|
-
"service_provider_npi"=>"67676767",
|
253
|
-
"subscriber_id"=>"98989898",
|
254
|
-
"subscriber_first_name"=>"Gaurav",
|
255
|
-
"subscriber_last_name"=>"Gupta",
|
256
|
-
"service_provider_last_name"=>"Jane",
|
257
|
-
"service_provider_first_name"=>"Austen",
|
258
|
-
"subscriber_dob"=>"1947-08-15"
|
259
|
-
}
|
260
|
-
]
|
261
|
-
}
|
262
|
-
|
263
|
-
Eligible::Coverage.batch_medicare_post params
|
264
|
-
result.to_hash # returns the api call results
|
265
|
-
result.error # return error, if any
|
266
|
-
```
|
267
|
-
|
268
189
|
## Enrollment
|
269
190
|
|
270
191
|
Enrollment requests can have multiple enrollment NPIs. You can repeat
|
data/lib/eligible.rb
CHANGED
@@ -44,7 +44,9 @@ module Eligible
|
|
44
44
|
@@test = false
|
45
45
|
@@api_version = '1.5'
|
46
46
|
@@api_base = "https://gds.eligibleapi.com/v#{@@api_version}"
|
47
|
-
@@fingerprints = %w(79d62e8a9d59ae687372f8e71345c76d92527fac
|
47
|
+
@@fingerprints = %w(79d62e8a9d59ae687372f8e71345c76d92527fac
|
48
|
+
4b2c6888ede79d0ee47339dc6fab5a6d0dc3cb0e
|
49
|
+
de4cdd0aae26df71290f0373af18e9ee7ecff18c)
|
48
50
|
|
49
51
|
def self.api_url(url = '')
|
50
52
|
@@api_base + url.to_s
|
data/lib/eligible/payment.rb
CHANGED
data/lib/eligible/precert.rb
CHANGED
data/lib/eligible/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eligible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katelyn Gleaon
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
169
|
rubyforge_project:
|
170
|
-
rubygems_version: 2.4.
|
170
|
+
rubygems_version: 2.4.8
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Ruby wrapper for the Eligible API
|