eligible 3.0.0.beta4 → 3.0.0.beta5

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
  SHA256:
3
- metadata.gz: ebc3b35305aecdf0a8ec318e4289d016d7e04723fac122a949bd6350acf49bad
4
- data.tar.gz: 32bbca6062268d61c3f369369290e054f93d6e976b5117dff109830f576be3b4
3
+ metadata.gz: 132709dda84378d5ccb39f11b64fdb95486d7ff2ac7246a91b5b1bf802b2bade
4
+ data.tar.gz: bd8103123ba2c0b536d9efd579aab6f0fafb1345a69e9095761ee83c85978c1c
5
5
  SHA512:
6
- metadata.gz: 79488ab8c8f891662a54c1f9ac29bfee834648eb1fbf756a94e3ead25058eddd3cd232e52af0280619829b4130c0597b4d772b80d60143460c5326f5ad1b3812
7
- data.tar.gz: 95d4d124f204774c0c6d2444f574045138a4ac515b3839391a718a6217416f854e01f0d84762f68b7556ae8bc35d8a9b68abd637d60eefa6900d046327a26058
6
+ metadata.gz: ce496f7302a8e921ddc6bbc46fc3878f1275f0f76436f9b897f90a261583500b0bad1c2258893f93c5a6f42ee90feaabd90de89a15f4373df91f783357aea031
7
+ data.tar.gz: 6ae27e973e16a936a420b0731306e9b9a4f7c87afad15fe904f77c7e9f3c62d23cfa6dfc01b6d25ce5efcd9584b779f3326ffb9adf5d171755693b55bcad6c49
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.0.beta5 - 2020-03-31
4
+ - Added support for new REST API endpoints "Insurance Company, Insurance Policy, Patient"
5
+
3
6
  ## 3.0.0.beta4 - 2020-03-16
4
7
  - Fixed query params conversion to support Expand feature for new REST API Endpoints
5
8
  - Changed new REST API endpoints format to support `ID` field or `params`
@@ -44,6 +44,9 @@ require 'eligible/icd'
44
44
  # New REST API Endpoints
45
45
  require 'eligible/v1_0/rest_api_base'
46
46
  require 'eligible/v1_0/file_object'
47
+ require 'eligible/v1_0/insurance_company'
48
+ require 'eligible/v1_0/insurance_policy'
49
+ require 'eligible/v1_0/patient'
47
50
  require 'eligible/v1_0/patient_statement'
48
51
  require 'eligible/v1_0/patient_statement_service_line'
49
52
 
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ class InsuranceCompany < RestAPIBase
5
+ ENDPOINT_NAME = 'insurance_companies'.freeze
6
+
7
+ def self.create(_params, _opts = {})
8
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
9
+ end
10
+
11
+ def self.update(_params, _opts = {})
12
+ fail NotImplementedError, "Not an allowed operation for this endpoint"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ class InsurancePolicy < RestAPIBase
5
+ ENDPOINT_NAME = 'insurance_policies'.freeze
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Eligible
4
+ class Patient < RestAPIBase
5
+ ENDPOINT_NAME = 'patients'.freeze
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Eligible
2
- VERSION = '3.0.0.beta4'.freeze
2
+ VERSION = '3.0.0.beta5'.freeze
3
3
  end
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: 3.0.0.beta4
4
+ version: 3.0.0.beta5
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: 2020-03-19 00:00:00.000000000 Z
13
+ date: 2020-04-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -156,6 +156,9 @@ files:
156
156
  - lib/eligible/ticket.rb
157
157
  - lib/eligible/util.rb
158
158
  - lib/eligible/v1_0/file_object.rb
159
+ - lib/eligible/v1_0/insurance_company.rb
160
+ - lib/eligible/v1_0/insurance_policy.rb
161
+ - lib/eligible/v1_0/patient.rb
159
162
  - lib/eligible/v1_0/patient_statement.rb
160
163
  - lib/eligible/v1_0/patient_statement_service_line.rb
161
164
  - lib/eligible/v1_0/rest_api_base.rb