change_health 5.8.1 → 5.9.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 +7 -0
- data/README.md +1 -1
- data/lib/change_health/request/submission.rb +3 -2
- data/lib/change_health/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61246bb37e295c8a4c897e6f353c90aeb96e9e60953b99e57864ac7bcab6202c
|
4
|
+
data.tar.gz: 9ff7588ca38522fbbeba1c3b9003f58f49299d263d9a5f1c564c78b95a5d7550
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb544514e888e80543a4c15aea51c7b1898f3bfa3f09974c3009fc993bbc4e1cbb48396cd79a02ed4e27dab333ca488666ab60a9463f71c76d15e7b69ff8f1bb
|
7
|
+
data.tar.gz: bcc28d42ffa92d01615fd9bcc9c17b18eca972240e6eaa5560d193b901edf1dd715a8046b784066c4e63f069ad6066e9e145b4f073c3667eb958991bf2463952
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,12 @@ 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.9.0] - 2024-04-19
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
* Ability to accept headers in submission.
|
13
|
+
|
8
14
|
# [5.8.1] - 2024-04-02
|
9
15
|
|
10
16
|
### Fixed
|
@@ -632,6 +638,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
632
638
|
* Authentication
|
633
639
|
* Configuration
|
634
640
|
|
641
|
+
[5.9.0]: https://github.com/WeInfuse/change_health/compare/v5.8.1...v5.9.0
|
635
642
|
[5.8.1]: https://github.com/WeInfuse/change_health/compare/v5.8.0...v5.8.1
|
636
643
|
[5.8.0]: https://github.com/WeInfuse/change_health/compare/v5.7.0...v5.8.0
|
637
644
|
[5.7.0]: https://github.com/WeInfuse/change_health/compare/v5.6.0...v5.7.0
|
data/README.md
CHANGED
@@ -511,4 +511,4 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
511
511
|
|
512
512
|
# Contributing
|
513
513
|
|
514
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/WeInfuse/
|
514
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/WeInfuse/change_health.
|
@@ -40,7 +40,8 @@ module ChangeHealth
|
|
40
40
|
self[:providers] << provider
|
41
41
|
end
|
42
42
|
|
43
|
-
def submission(is_professional: true)
|
43
|
+
def submission(is_professional: true, headers: nil)
|
44
|
+
headers ||= is_professional ? professional_headers : institutional_headers
|
44
45
|
ChangeHealth::Response::Claim::SubmissionData.new(
|
45
46
|
response: ChangeHealth::Connection.new.request(
|
46
47
|
endpoint: self.class.endpoint(
|
@@ -48,7 +49,7 @@ module ChangeHealth
|
|
48
49
|
suffix: SUBMISSION_SUFFIX
|
49
50
|
),
|
50
51
|
body: to_h,
|
51
|
-
headers:
|
52
|
+
headers: headers
|
52
53
|
)
|
53
54
|
)
|
54
55
|
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.9.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: 2024-04-
|
11
|
+
date: 2024-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
|
-
rubygems_version: 3.
|
224
|
+
rubygems_version: 3.1.6
|
225
225
|
signing_key:
|
226
226
|
specification_version: 4
|
227
227
|
summary: Ruby wrapper for the ChangeHealth API
|