vericred_client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/docs/Applicant.md +2 -2
- data/docs/{InlineResponse2001.md → Base.md} +2 -2
- data/docs/Carrier.md +1 -1
- data/docs/County.md +3 -3
- data/docs/CountyBulk.md +10 -0
- data/docs/Drug.md +2 -1
- data/docs/DrugCoverage.md +4 -4
- data/docs/DrugCoverageResponse.md +9 -0
- data/docs/DrugPackage.md +9 -0
- data/docs/DrugSearchResponse.md +9 -0
- data/docs/DrugsApi.md +59 -0
- data/docs/Meta.md +8 -0
- data/docs/Plan.md +22 -6
- data/docs/PlanCounty.md +1 -1
- data/docs/PlanCountyBulk.md +10 -0
- data/docs/PlanFindResponse.md +9 -0
- data/docs/PlanSearchResult.md +26 -8
- data/docs/PlansApi.md +11 -11
- data/docs/Pricing.md +7 -1
- data/docs/Provider.md +9 -6
- data/docs/ProviderResponse.md +10 -0
- data/docs/ProvidersApi.md +19 -21
- data/docs/RatingArea.md +2 -2
- data/docs/RequestPlanFind.md +15 -0
- data/docs/State.md +4 -4
- data/docs/ZipCountiesApi.md +7 -8
- data/docs/ZipCountyBulk.md +11 -0
- data/docs/ZipCountyResponse.md +10 -0
- data/lib/vericred_client.rb +14 -6
- data/lib/vericred_client/api/{drug_coverage_api.rb → drugs_api.rb} +25 -19
- data/lib/vericred_client/api/plans_api.rb +14 -16
- data/lib/vericred_client/api/providers_api.rb +29 -29
- data/lib/vericred_client/api/zip_counties_api.rb +12 -12
- data/lib/vericred_client/api_client.rb +1 -1
- data/lib/vericred_client/api_error.rb +1 -1
- data/lib/vericred_client/models/applicant.rb +14 -12
- data/lib/vericred_client/models/{inline_response_200_1.rb → base.rb} +10 -9
- data/lib/vericred_client/models/carrier.rb +15 -15
- data/lib/vericred_client/models/carrier_subsidiary.rb +1 -1
- data/lib/vericred_client/models/county.rb +18 -14
- data/lib/vericred_client/models/county_bulk.rb +318 -0
- data/lib/vericred_client/models/drug.rb +27 -15
- data/lib/vericred_client/models/drug_coverage.rb +38 -32
- data/lib/vericred_client/models/drug_coverage_response.rb +310 -0
- data/lib/vericred_client/models/drug_package.rb +308 -0
- data/lib/vericred_client/models/drug_search_response.rb +310 -0
- data/lib/vericred_client/models/meta.rb +298 -0
- data/lib/vericred_client/models/plan.rb +196 -22
- data/lib/vericred_client/models/plan_county.rb +15 -15
- data/lib/vericred_client/models/plan_county_bulk.rb +318 -0
- data/lib/vericred_client/models/{inline_response_200.rb → plan_find_response.rb} +13 -11
- data/lib/vericred_client/models/plan_search_result.rb +236 -42
- data/lib/vericred_client/models/pricing.rb +63 -3
- data/lib/vericred_client/models/provider.rb +51 -9
- data/lib/vericred_client/models/provider_response.rb +322 -0
- data/lib/vericred_client/models/rating_area.rb +5 -5
- data/lib/vericred_client/models/{query.rb → request_plan_find.rb} +14 -6
- data/lib/vericred_client/models/state.rb +29 -25
- data/lib/vericred_client/models/zip_code.rb +1 -1
- data/lib/vericred_client/models/zip_county.rb +1 -1
- data/lib/vericred_client/models/zip_county_bulk.rb +328 -0
- data/lib/vericred_client/models/{inline_response_200_2.rb → zip_county_response.rb} +20 -17
- data/lib/vericred_client/version.rb +2 -2
- data/spec/api/{drug_coverage_api_spec.rb → drugs_api_spec.rb} +14 -17
- data/spec/api/plans_api_spec.rb +7 -69
- data/spec/api/providers_api_spec.rb +12 -28
- data/spec/api/zip_counties_api_spec.rb +6 -13
- metadata +31 -15
- data/docs/DrugCoverageApi.md +0 -54
- data/docs/InlineResponse200.md +0 -9
- data/docs/InlineResponse2002.md +0 -10
- data/docs/Query.md +0 -15
data/docs/DrugCoverageApi.md
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
# VericredClient::DrugCoverageApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://api.vericred.com/*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
------------- | ------------- | -------------
|
7
|
-
[**drugs_ndc_coverages_get**](DrugCoverageApi.md#drugs_ndc_coverages_get) | **GET** /drugs/{ndc}/coverages | Find Drug Coverages for a given NDC
|
8
|
-
|
9
|
-
|
10
|
-
# **drugs_ndc_coverages_get**
|
11
|
-
> Array<DrugCoverage> drugs_ndc_coverages_get(ndc)
|
12
|
-
|
13
|
-
Find Drug Coverages for a given NDC
|
14
|
-
|
15
|
-
### Example
|
16
|
-
```ruby
|
17
|
-
# load the gem
|
18
|
-
require 'vericred_client'
|
19
|
-
|
20
|
-
api_instance = VericredClient::DrugCoverageApi.new
|
21
|
-
|
22
|
-
ndc = "ndc_example" # String | NDC for a drug
|
23
|
-
|
24
|
-
|
25
|
-
begin
|
26
|
-
#Find Drug Coverages for a given NDC
|
27
|
-
result = api_instance.drugs_ndc_coverages_get(ndc)
|
28
|
-
p result
|
29
|
-
rescue VericredClient::ApiError => e
|
30
|
-
puts "Exception when calling DrugCoverageApi->drugs_ndc_coverages_get: #{e}"
|
31
|
-
end
|
32
|
-
```
|
33
|
-
|
34
|
-
### Parameters
|
35
|
-
|
36
|
-
Name | Type | Description | Notes
|
37
|
-
------------- | ------------- | ------------- | -------------
|
38
|
-
**ndc** | **String**| NDC for a drug |
|
39
|
-
|
40
|
-
### Return type
|
41
|
-
|
42
|
-
[**Array<DrugCoverage>**](DrugCoverage.md)
|
43
|
-
|
44
|
-
### Authorization
|
45
|
-
|
46
|
-
No authorization required
|
47
|
-
|
48
|
-
### HTTP request headers
|
49
|
-
|
50
|
-
- **Content-Type**: Not defined
|
51
|
-
- **Accept**: Not defined
|
52
|
-
|
53
|
-
|
54
|
-
|
data/docs/InlineResponse200.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# VericredClient::InlineResponse200
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**meta** | **Object** | | [optional]
|
7
|
-
**providers** | [**Array<Provider>**](Provider.md) | | [optional]
|
8
|
-
|
9
|
-
|
data/docs/InlineResponse2002.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# VericredClient::InlineResponse2002
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**zip_counties** | [**Array<ZipCounty>**](ZipCounty.md) | | [optional]
|
7
|
-
**counties** | [**Array<County>**](County.md) | | [optional]
|
8
|
-
**zip_codes** | [**Array<ZipCode>**](ZipCode.md) | | [optional]
|
9
|
-
|
10
|
-
|
data/docs/Query.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# VericredClient::Query
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
Name | Type | Description | Notes
|
5
|
-
------------ | ------------- | ------------- | -------------
|
6
|
-
**applicants** | [**Array<Applicant>**](Applicant.md) | | [optional]
|
7
|
-
**enrollment_date** | **Date** | | [optional]
|
8
|
-
**fips_code** | **String** | | [optional]
|
9
|
-
**household_income** | **String** | | [optional]
|
10
|
-
**household_size** | **String** | | [optional]
|
11
|
-
**market** | **String** | | [optional]
|
12
|
-
**providers** | **Array<String>** | | [optional]
|
13
|
-
**zip_code** | **String** | | [optional]
|
14
|
-
|
15
|
-
|