eligible 3.0.0.beta17 → 3.0.0.beta23

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce58ab4bcb4de406ced460aa9c930023787d8afdfa9d603da5b51eea5940f848
4
- data.tar.gz: 4446f6ebf258825dd4c6310bf0ba673560dd860e5eba813fe71cafa69e3e55e8
3
+ metadata.gz: db10d28c31accb934e67e1f550bc099bb0c60f2d152d49e13a77c599cded2805
4
+ data.tar.gz: 5f36e403ad32770c7fc65be4456efc4bb8de46aac34047dd801544bc1ff4a66a
5
5
  SHA512:
6
- metadata.gz: febd04dd34ce99c1dacf234160403be82215308e50b5acf487d0fa79154a7c9ccc7930fdbcbe3de3627f0048789ba9452d0d7d339d86eaa9361fabbffd5c3568
7
- data.tar.gz: 3d85a68891c0f50a9972fdd4848c137eecb19d56b97a630e0472de569598e0a2c4e57eec62741d4ecde2c87112e9f797ffea503b2563094245d4d0c61a9ba08a
6
+ metadata.gz: be9d3d9177090867ac0b6ce997442e1d9d320b2eb022fc817dacaac5851c3933dbb4d9769023fa079c6255f2301364e7bd202abe7f93eb1335d7e786bbda19a1
7
+ data.tar.gz: ecf1bb064487814c6f4ee5d18ff87b64796d705bbc2e1dd3abf883563bda7aea41260fa6498302946326e1d794e57fc491e5a98bcdeeceff882cee1f15893d84
@@ -1,10 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0.beta23 - 2020-11-13
4
+ - Bug fixes
5
+
6
+ ## 3.0.0.beta22 - 2020-10-21
7
+ - Bug fixes
8
+
9
+ ## 3.0.0.beta21 - 2020-10-21
10
+ - Add post method for CE API to avoid 414 error with large X12 inputs
11
+
12
+ ## 3.0.0.beta20 - 2020-08-17
13
+ - Bug fixes
14
+
15
+ ## 3.0.0.beta19 - 2020-07-28
16
+ - Added refunds and balance_captures REST API endpoints
17
+
18
+ ## 3.0.0.beta18 - 2020-07-24
19
+ - Added claim_submit endpoint API url for PatientStatement endpoint
20
+
3
21
  ## 3.0.0.beta17 - 2020-07-13
4
- - Added support for report API endpoints
22
+ - Bug fixes
5
23
 
6
24
  ## 3.0.0.beta16 - 2020-07-10
7
- - Migrated "Patient" endpoint to "PatientRecord"
25
+ - Migrated "Patient" endpoint to "PatientRecord"
8
26
 
9
27
  ## 3.0.0.beta15 - 2020-06-12
10
28
  - Added support for patient questionnaire, patient questions API endpoints
@@ -45,6 +45,7 @@ require 'eligible/icd'
45
45
  require 'eligible/v1_0/rest_api_base'
46
46
  require 'eligible/v1_0/action'
47
47
  require 'eligible/v1_0/attribute'
48
+ require 'eligible/v1_0/balance_capture'
48
49
  require 'eligible/v1_0/charge'
49
50
  require 'eligible/v1_0/claim'
50
51
  require 'eligible/v1_0/claim_service_line'
@@ -69,6 +70,7 @@ require 'eligible/v1_0/patient_question'
69
70
  require 'eligible/v1_0/patient_questionnaire'
70
71
  require 'eligible/v1_0/product'
71
72
  require 'eligible/v1_0/provider'
73
+ require 'eligible/v1_0/refund'
72
74
  require 'eligible/v1_0/remark'
73
75
  require 'eligible/v1_0/rule'
74
76
  require 'eligible/v1_0/session'
@@ -77,9 +79,6 @@ require 'eligible/v1_0/treatment'
77
79
  require 'eligible/v1_0/value_list'
78
80
  require 'eligible/v1_0/value_list_item'
79
81
  require 'eligible/v1_0/verification'
80
- require 'eligible/v1_0/reports/accuracy_stats'
81
- require 'eligible/v1_0/reports/estimate_friction'
82
- require 'eligible/v1_0/reports/in_scope_distribution'
83
82
 
84
83
  # Errors
85
84
  require 'eligible/errors/eligible_error'
@@ -12,6 +12,10 @@ module Eligible
12
12
  send_request :get, '/coverage/cost_estimates.json', params, opts
13
13
  end
14
14
 
15
+ def self.cost_estimate_post(params, opts = {})
16
+ send_request :post, '/coverage/cost_estimates.json', params, opts
17
+ end
18
+
15
19
  def self.batch_medicare_post(params, opts = {})
16
20
  send_request :post, '/medicare/coverage/batch.json', params, opts
17
21
  end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ module V1_0
5
+ class BalanceCapture < RestAPIBase
6
+ ENDPOINT_NAME = 'balance_captures'.freeze
7
+
8
+ def self.create(_params, _opts = {})
9
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
10
+ end
11
+
12
+ def self.update(_params, _opts = {})
13
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
14
+ end
15
+
16
+ def self.delete(_params, _opts = {})
17
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -49,6 +49,11 @@ module Eligible
49
49
  def self.reestimate(params, opts = {})
50
50
  send_request :post, "/#{endpoint_name}/#{object_id(params)}/reestimate", rest_api_params(params), opts.merge(required_params: [:id])
51
51
  end
52
+
53
+ # Submit a claim for a patient statement
54
+ def self.submit_claim(params, opts = {})
55
+ send_request :post, "/#{endpoint_name}/#{object_id(params)}/submit_claim", rest_api_params(params), opts.merge(required_params: [:id])
56
+ end
52
57
  end
53
58
  end
54
59
  end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ module V1_0
5
+ class Refund < RestAPIBase
6
+ ENDPOINT_NAME = 'refunds'.freeze
7
+
8
+ def self.create(_params, _opts = {})
9
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
10
+ end
11
+
12
+ def self.update(_params, _opts = {})
13
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
14
+ end
15
+
16
+ def self.delete(_params, _opts = {})
17
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,3 +1,3 @@
1
1
  module Eligible
2
- VERSION = '3.0.0.beta17'.freeze
2
+ VERSION = '3.0.0.beta23'.freeze
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eligible
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta17
4
+ version: 3.0.0.beta23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katelyn Gleaon
8
8
  - Rodrigo Dominguez
9
9
  - Aaron Bedra
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-13 00:00:00.000000000 Z
13
+ date: 2020-11-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -157,6 +157,7 @@ files:
157
157
  - lib/eligible/util.rb
158
158
  - lib/eligible/v1_0/action.rb
159
159
  - lib/eligible/v1_0/attribute.rb
160
+ - lib/eligible/v1_0/balance_capture.rb
160
161
  - lib/eligible/v1_0/charge.rb
161
162
  - lib/eligible/v1_0/claim.rb
162
163
  - lib/eligible/v1_0/claim_service_line.rb
@@ -181,10 +182,8 @@ files:
181
182
  - lib/eligible/v1_0/payment_report.rb
182
183
  - lib/eligible/v1_0/product.rb
183
184
  - lib/eligible/v1_0/provider.rb
185
+ - lib/eligible/v1_0/refund.rb
184
186
  - lib/eligible/v1_0/remark.rb
185
- - lib/eligible/v1_0/reports/accuracy_stats.rb
186
- - lib/eligible/v1_0/reports/estimate_friction.rb
187
- - lib/eligible/v1_0/reports/in_scope_distribution.rb
188
187
  - lib/eligible/v1_0/rest_api_base.rb
189
188
  - lib/eligible/v1_0/rule.rb
190
189
  - lib/eligible/v1_0/session.rb
@@ -200,7 +199,7 @@ homepage: https://github.com/eligible/eligible-ruby
200
199
  licenses:
201
200
  - MIT
202
201
  metadata: {}
203
- post_install_message:
202
+ post_install_message:
204
203
  rdoc_options: []
205
204
  require_paths:
206
205
  - lib
@@ -215,8 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
214
  - !ruby/object:Gem::Version
216
215
  version: 1.3.1
217
216
  requirements: []
218
- rubygems_version: 3.0.6
219
- signing_key:
217
+ rubygems_version: 3.0.8
218
+ signing_key:
220
219
  specification_version: 4
221
220
  summary: Ruby wrapper for the Eligible API
222
221
  test_files: []
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Eligible
4
- module V1_0
5
- module Reports
6
- class AccuracyStats < RestAPIBase
7
- ENDPOINT_NAME = 'reports/accuracy_stats'.freeze
8
-
9
- def self.create(_params, _opts = {})
10
- fail NotImplementedError, "Not an allowed operation for this endpoint"
11
- end
12
-
13
- def self.update(_params, _opts = {})
14
- fail NotImplementedError, "Not an allowed operation for this endpoint"
15
- end
16
-
17
- def self.delete(_params, _opts = {})
18
- fail NotImplementedError, "Not an allowed operation for this endpoint"
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Eligible
4
- module V1_0
5
- module Reports
6
- class EstimateFriction < RestAPIBase
7
- ENDPOINT_NAME = 'reports/estimate_frictions'.freeze
8
-
9
- def self.create(_params, _opts = {})
10
- fail NotImplementedError, "Not an allowed operation for this endpoint"
11
- end
12
-
13
- def self.update(_params, _opts = {})
14
- fail NotImplementedError, "Not an allowed operation for this endpoint"
15
- end
16
-
17
- def self.delete(_params, _opts = {})
18
- fail NotImplementedError, "Not an allowed operation for this endpoint"
19
- end
20
- end
21
- end
22
- end
23
- end
@@ -1,23 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Eligible
4
- module V1_0
5
- module Reports
6
- class InScopeDistribution < RestAPIBase
7
- ENDPOINT_NAME = 'reports/in_scope_distributions'.freeze
8
-
9
- def self.create(_params, _opts = {})
10
- fail NotImplementedError, "Not an allowed operation for this endpoint"
11
- end
12
-
13
- def self.update(_params, _opts = {})
14
- fail NotImplementedError, "Not an allowed operation for this endpoint"
15
- end
16
-
17
- def self.delete(_params, _opts = {})
18
- fail NotImplementedError, "Not an allowed operation for this endpoint"
19
- end
20
- end
21
- end
22
- end
23
- end