eligible 3.0.0.beta4 → 3.0.0.beta5
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/CHANGELOG.md +3 -0
 - data/lib/eligible.rb +3 -0
 - data/lib/eligible/v1_0/insurance_company.rb +15 -0
 - data/lib/eligible/v1_0/insurance_policy.rb +7 -0
 - data/lib/eligible/v1_0/patient.rb +7 -0
 - data/lib/eligible/version.rb +1 -1
 - metadata +5 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 132709dda84378d5ccb39f11b64fdb95486d7ff2ac7246a91b5b1bf802b2bade
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: bd8103123ba2c0b536d9efd579aab6f0fafb1345a69e9095761ee83c85978c1c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: ce496f7302a8e921ddc6bbc46fc3878f1275f0f76436f9b897f90a261583500b0bad1c2258893f93c5a6f42ee90feaabd90de89a15f4373df91f783357aea031
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 6ae27e973e16a936a420b0731306e9b9a4f7c87afad15fe904f77c7e9f3c62d23cfa6dfc01b6d25ce5efcd9584b779f3326ffb9adf5d171755693b55bcad6c49
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -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`
         
     | 
    
        data/lib/eligible.rb
    CHANGED
    
    | 
         @@ -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
         
     | 
    
        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: 3.0.0. 
     | 
| 
      
 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- 
     | 
| 
      
 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
         
     |