change_health 5.17.0 → 5.18.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 +18 -0
- data/lib/change_health/response/error.rb +2 -2
- 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: ad94a64e05364d0f24774fe9721a4a2ffadb08448a07348c7835e0dcd0354806
|
4
|
+
data.tar.gz: 050236cd7408f842f717717af0cbcaafba23cf84860bcb5cfac85f4ea2d07ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9048cdfb5921250757a618b7b9e1f44c608e7fb86344830a25ef2a83ed2fd848760e2b8bd13adb482eb264d84d3405c83fd4a25b032fdd11eb046dbb80fa652
|
7
|
+
data.tar.gz: 844d6a4f4a32f29db366d7975072400f95a3f18dd833c2239ca7b7e4802ec0334bf4e0d19d48f50c7231b6f8148095d71c4ad14cd02a328431cfc2a85d2f54da
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,23 @@ 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.18.0] - 2024-08-19
|
9
|
+
|
10
|
+
### Added
|
11
|
+
|
12
|
+
* Additional error handling for different format of error response
|
13
|
+
|
14
|
+
```
|
15
|
+
"errors": {
|
16
|
+
"inputDto": [
|
17
|
+
"The inputDto field is required."
|
18
|
+
],
|
19
|
+
"$.claimInformation.serviceLines[0].professionalService.serviceUnitCount": [
|
20
|
+
"The JSON value could not be converted to System.String. Path: $.claimInformation.serviceLines[0].professionalService.serviceUnitCount | LineNumber: 0 | BytePositionInLine: 763."
|
21
|
+
]
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
8
25
|
# [5.17.0] - 2024-07-23
|
9
26
|
|
10
27
|
### Added
|
@@ -731,6 +748,7 @@ Added the ability to hit professional claim submission API. For more details, se
|
|
731
748
|
* Authentication
|
732
749
|
* Configuration
|
733
750
|
|
751
|
+
[5.18.0]: https://github.com/WeInfuse/change_health/compare/v5.17.0...v5.18.0
|
734
752
|
[5.17.0]: https://github.com/WeInfuse/change_health/compare/v5.16.0...v5.17.0
|
735
753
|
[5.16.0]: https://github.com/WeInfuse/change_health/compare/v5.15.0...v5.16.0
|
736
754
|
[5.15.0]: https://github.com/WeInfuse/change_health/compare/v5.14.0...v5.15.0
|
@@ -22,7 +22,7 @@ module ChangeHealth
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def message
|
25
|
-
field_message || code_message
|
25
|
+
field_message || code_message || @data.to_s
|
26
26
|
end
|
27
27
|
|
28
28
|
def field_message
|
@@ -48,7 +48,7 @@ module ChangeHealth
|
|
48
48
|
end
|
49
49
|
|
50
50
|
define_method(method_name.to_s) do
|
51
|
-
@data[method_name]
|
51
|
+
@data[method_name] if @data.is_a?(Hash)
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
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.18.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-
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|