change_health 5.15.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: cb987215842bdd0968fdaa773aaafdc61b866a201696f22b834acaea3e278c79
4
- data.tar.gz: b8aafcf2bb2104f2855182820cc61ed2ea0e2ba7cd3e346202d0ad32b402732d
3
+ metadata.gz: 3febf96a95dc9999a8f0ef16fb8061d25578e20116f3c9a914e1fa7726a86219
4
+ data.tar.gz: 2b2cbdf4fbfde5418f0f8aa59c596d670546d9d4af8b7f5a569f12ed6c7833ee
5
5
  SHA512:
6
- metadata.gz: fc3d044369eda8d3155e2691133e49ac6b5e6d94d60caee2cd5d1583e7cae20fe4caee403dc32c163193de681066c0b21fead3bd7258cf6f598d696cf3c028d9
7
- data.tar.gz: 1c2fd48215812e643213b916320ef4c2d45c61bfb0f794daf6ef3e3bd9c9524f66c8d0bcc892a14df80e02005372a6bb72f7836a28159ab9a46e5f0cb6af5269
6
+ metadata.gz: ee01c27b970f6d2ea3b40d1093c6ec14586ad2ac90e6ba5cc35bfa6e511c28b92813760533ab729a3ac6b7ff9970c4c1e031b2127f081a8e864f46fc97c131ae
7
+ data.tar.gz: ea285493ba500e1d25a6ed7673cd3f128b18a972c34af498b8273c7281afce4b5f04a2dbe6e0eced50f6c953cd1c825a90082d6508581af2aa143afdbe3a27c7
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.16.0] - 2024-06-24
9
+
10
+ ### Added
11
+
12
+ * Ability to accept alternate `endpoint` in submission.
13
+
8
14
  # [5.15.0] - 2024-06-19
9
15
 
10
16
  ### Added
@@ -712,6 +718,7 @@ Added the ability to hit professional claim submission API. For more details, se
712
718
  * Authentication
713
719
  * Configuration
714
720
 
721
+ [5.16.0]: https://github.com/WeInfuse/change_health/compare/v5.15.0...v5.16.0
715
722
  [5.15.0]: https://github.com/WeInfuse/change_health/compare/v5.14.0...v5.15.0
716
723
  [5.14.0]: https://github.com/WeInfuse/change_health/compare/v5.13.3...v5.14.0
717
724
  [5.13.3]: https://github.com/WeInfuse/change_health/compare/v5.13.2...v5.13.3
@@ -40,14 +40,15 @@ module ChangeHealth
40
40
  self[:providers] << provider
41
41
  end
42
42
 
43
- def submission(is_professional: true, headers: nil, base_uri: nil, auth_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,
51
52
  base_uri: base_uri,
52
53
  body: to_h,
53
54
  headers: headers,
@@ -1,3 +1,3 @@
1
1
  module ChangeHealth
2
- VERSION = '5.15.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.15.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-20 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