change_health 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/change_health/authentication.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: 3c97fc88c9f0def70b9e941ed35e59bd956f5d839597b8226163d91b7ced371a
|
|
4
|
+
data.tar.gz: 66cd4522fd779c6ad635e617b10ee988a52d97e95024bef6c6e804866582bfd0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c4787b8fc7b4108607f25412724bf9169dbf5feb19033fed1b128d99953389be1cbc74cb3b0ea24d548b3d1c09b95b66bdb26f37d8157037785b98bd877c7e40
|
|
7
|
+
data.tar.gz: 714bb74a58c6e34b188c8882d89cd6ac611998c68eccc94fd8c8c85c91ce6cac1786c61b0f0b3a091c133597bdef94772f4ca8665dd9fff655e8b538295b0875
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.6.0] - [2020-04-02]
|
|
8
|
+
### Changed
|
|
9
|
+
- Added Indifferent Access to hashes
|
|
10
|
+
- Fixed bug with Authentication endpoint
|
|
11
|
+
|
|
7
12
|
## [0.5.0] - [2020-03-11]
|
|
8
13
|
### Added
|
|
9
14
|
- EligibilityBenefit Deductible information
|
|
@@ -44,6 +49,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
44
49
|
- Authentication
|
|
45
50
|
- Configuration
|
|
46
51
|
|
|
52
|
+
[0.6.0]: https://github.com/WeInfuse/change_health/compare/v0.5.0...v0.6.0
|
|
47
53
|
[0.5.0]: https://github.com/WeInfuse/change_health/compare/v0.4.0...v0.5.0
|
|
48
54
|
[0.4.0]: https://github.com/WeInfuse/change_health/compare/v0.3.0...v0.4.0
|
|
49
55
|
[0.3.0]: https://github.com/WeInfuse/change_health/compare/v0.2.0...v0.3.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module ChangeHealth
|
|
2
|
-
class Authentication
|
|
2
|
+
class Authentication
|
|
3
3
|
attr_accessor :response
|
|
4
4
|
|
|
5
5
|
AUTH_ENDPOINT = '/apip/auth/v2/token'.freeze
|
|
@@ -16,7 +16,7 @@ module ChangeHealth
|
|
|
16
16
|
endpoint: AUTH_ENDPOINT
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
response =
|
|
19
|
+
response = Connection.new.request(**request, auth: false)
|
|
20
20
|
|
|
21
21
|
if (false == response.ok?)
|
|
22
22
|
@response = nil
|
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: 0.
|
|
4
|
+
version: 0.6.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: 2020-03
|
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|