change_health 5.0.0 → 5.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/change_health/models/trading_partner/trading_partner.rb +4 -1
- data/lib/change_health/request/trading_partner.rb +1 -1
- data/lib/change_health/response/trading_partner/trading_partner_data.rb +12 -0
- data/lib/change_health/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17ef9182c0bbc6cb41bc008db75f77faf18d53ba88e79171efd8a677c0c8c2d3
|
4
|
+
data.tar.gz: 8cb95edc95cf11df39b00f4673344164d64c463e699b625b265e0f93c10b8340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 428399294a14f285bb21271350a336646a7d6e56adf4b6db56850b04414951502be25f7b26530458df447a72e9300ab9095bbcea6ad84d98e16ec8b7d9cbc9aa
|
7
|
+
data.tar.gz: c644718797d8598ea2623737f6b4b713bb0de62cb8ca82d72709bceb0eec8ddd60c253c413cb11e928e02f770adee3b67d50e9accaf2e89a3c908b35a66e4d3f
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
# [5.1.0] - 2023-08-31
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
* added alias to trading_partner_data
|
13
|
+
* added line_of_business to trading_partner_data
|
14
|
+
* added plan_type to trading_partner_data
|
15
|
+
|
8
16
|
# [5.0.0] - 2022-08-24
|
9
17
|
|
10
18
|
### Changed
|
@@ -551,6 +559,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
551
559
|
* Authentication
|
552
560
|
* Configuration
|
553
561
|
|
562
|
+
[5.1.0]: https://github.com/WeInfuse/change_health/compare/v5.0.0...v5.1.0
|
554
563
|
[5.0.0]: https://github.com/WeInfuse/change_health/compare/v4.14.0...v5.0.0
|
555
564
|
[4.14.0]: https://github.com/WeInfuse/change_health/compare/v4.13.1...v4.14.0
|
556
565
|
[4.13.1]: https://github.com/WeInfuse/change_health/compare/v4.13.0...v4.13.1
|
@@ -4,8 +4,11 @@ module ChangeHealth
|
|
4
4
|
include Hashie::Extensions::IndifferentAccess
|
5
5
|
include Hashie::Extensions::IgnoreUndeclared
|
6
6
|
|
7
|
-
property :
|
7
|
+
property :alias, required: false
|
8
|
+
property :line_of_business, required: false
|
8
9
|
property :name, required: true
|
10
|
+
property :plan_type, required: false
|
11
|
+
property :service_id, required: true
|
9
12
|
end
|
10
13
|
end
|
11
14
|
end
|
@@ -11,7 +11,7 @@ module ChangeHealth
|
|
11
11
|
|
12
12
|
response = ChangeHealth::Connection.new.request(endpoint: ENDPOINT, verb: :get, query: params)
|
13
13
|
trading_partners_data = ChangeHealth::Response::TradingPartnersData.new(response['payers'])
|
14
|
-
trading_partners_data.map { |partner| ChangeHealth::Models::TradingPartner.new(name: partner.name, service_id: partner.service_id)
|
14
|
+
trading_partners_data.map { |partner| ChangeHealth::Models::TradingPartner.new(name: partner.name, alias: partner.alias, line_of_business: partner.line_of_business, plan_type: partner.plan_type, service_id: partner.service_id )}
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: change_health
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Crockett
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|