change_health 5.14.0 → 5.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48a9d4f78c8b44747e2f593a4cb24fa6050d586fe991c4fda19097e232d493ae
4
- data.tar.gz: bc14ef980d21d8f86e883fb1089b8751225c90770ac6b893b11a64ca9342be79
3
+ metadata.gz: 3febf96a95dc9999a8f0ef16fb8061d25578e20116f3c9a914e1fa7726a86219
4
+ data.tar.gz: 2b2cbdf4fbfde5418f0f8aa59c596d670546d9d4af8b7f5a569f12ed6c7833ee
5
5
  SHA512:
6
- metadata.gz: 3b1b7588b4d23e366e4e53ce1deefea29ee56f03216768e9af36130342f1abedef3ed086960487181c34a39e4e481b7ac3594a3ce45920ca2c3f5327f7be4a9c
7
- data.tar.gz: fdf31926f445379f99b9a8645b7be6f5529f8a38c3936a044264330572f1bd7a3ac818d216de3da418abd9e23dce60ff17de5534949925cad7ac95415dd1304c
6
+ metadata.gz: ee01c27b970f6d2ea3b40d1093c6ec14586ad2ac90e6ba5cc35bfa6e511c28b92813760533ab729a3ac6b7ff9970c4c1e031b2127f081a8e864f46fc97c131ae
7
+ data.tar.gz: ea285493ba500e1d25a6ed7673cd3f128b18a972c34af498b8273c7281afce4b5f04a2dbe6e0eced50f6c953cd1c825a90082d6508581af2aa143afdbe3a27c7
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ 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.16.0] - 2024-06-24
9
+
10
+ ### Added
11
+
12
+ * Ability to accept alternate `endpoint` in submission.
13
+
14
+ # [5.15.0] - 2024-06-19
15
+
16
+ ### Added
17
+
18
+ * Ability to accept alternate `base_uri` and `auth_headers` in submission.
19
+
8
20
  # [5.14.0] - 2024-06-11
9
21
 
10
22
  ### Added
@@ -706,6 +718,8 @@ Added the ability to hit professional claim submission API. For more details, se
706
718
  * Authentication
707
719
  * Configuration
708
720
 
721
+ [5.16.0]: https://github.com/WeInfuse/change_health/compare/v5.15.0...v5.16.0
722
+ [5.15.0]: https://github.com/WeInfuse/change_health/compare/v5.14.0...v5.15.0
709
723
  [5.14.0]: https://github.com/WeInfuse/change_health/compare/v5.13.3...v5.14.0
710
724
  [5.13.3]: https://github.com/WeInfuse/change_health/compare/v5.13.2...v5.13.3
711
725
  [5.13.2]: https://github.com/WeInfuse/change_health/compare/v5.13.1...v5.13.2
@@ -40,16 +40,19 @@ module ChangeHealth
40
40
  self[:providers] << provider
41
41
  end
42
42
 
43
- def submission(is_professional: true, headers: nil)
43
+ def submission(is_professional: true, headers: nil, base_uri: nil, auth_headers: nil, endpoint: nil)
44
44
  headers ||= is_professional ? professional_headers : institutional_headers
45
+ endpoint ||= self.class.endpoint(
46
+ is_professional: is_professional,
47
+ suffix: SUBMISSION_SUFFIX
48
+ )
45
49
  ChangeHealth::Response::Claim::SubmissionData.new(
46
50
  response: ChangeHealth::Connection.new.request(
47
- endpoint: self.class.endpoint(
48
- is_professional: is_professional,
49
- suffix: SUBMISSION_SUFFIX
50
- ),
51
+ endpoint: endpoint,
52
+ base_uri: base_uri,
51
53
  body: to_h,
52
- headers: headers
54
+ headers: headers,
55
+ auth_headers: auth_headers
53
56
  )
54
57
  )
55
58
  end
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '5.14.0'.freeze
2
+ VERSION = '5.16.0'.freeze
3
3
  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.14.0
4
+ version: 5.16.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-06-12 00:00:00.000000000 Z
11
+ date: 2024-06-25 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.1.6
224
+ rubygems_version: 3.5.11
225
225
  signing_key:
226
226
  specification_version: 4
227
227
  summary: Ruby wrapper for the ChangeHealth API