redox 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/redox/request/patient_admin.rb +4 -4
- data/lib/redox/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: af07742de7bb1cc39182903d8246bb8a59dfdb1b660fd629568ee799eef03f90
|
4
|
+
data.tar.gz: e088a4fbc1bd383ee5ea0570d6b3933a4d4eccafe1d7a70aa37de49925fe1beb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efc0fe9382fecb0a4a738796e7dfb89f2b17438e5dbe4730a5de6357dea040f043e8f41130e331780a58263e61416581c024ff4ddcb90c28230f2d2a99bfa9e9
|
7
|
+
data.tar.gz: b6ec18283534dde1ca34cf053dad85df88fa9335e08ce4e631e81b0723f00f81a7ff9e72f6e417b3acb5cfa59410238912557cd5ea22890d1120018e5a478b0d
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ 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
|
+
## [1.1.1] - 2020-06-15
|
8
|
+
### Changed
|
9
|
+
- Bugfix with patient param in update
|
10
|
+
|
7
11
|
## [1.1.0] - 2020-06-15
|
8
12
|
### Changed
|
9
13
|
- Moving to Requst classes instead of mixing in logic to models (kept backwards compatibility)
|
@@ -94,6 +98,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
94
98
|
### Added
|
95
99
|
- Initial Release
|
96
100
|
|
101
|
+
[1.1.1]: https://github.com/WeInfuse/redox/compare/v1.1.0...v1.1.1
|
97
102
|
[1.1.0]: https://github.com/WeInfuse/redox/compare/v1.0.2...v1.1.0
|
98
103
|
[1.0.2]: https://github.com/WeInfuse/redox/compare/v1.0.1...v1.0.2
|
99
104
|
[1.0.1]: https://github.com/WeInfuse/redox/compare/v1.0.0...v1.0.1
|
@@ -4,14 +4,14 @@ module Redox
|
|
4
4
|
CREATE_META = Redox::Models::Meta.new(EventType: 'NewPatient', DataModel: 'PatientAdmin')
|
5
5
|
UPDATE_META = Redox::Models::Meta.new(EventType: 'PatientUpdate', DataModel: 'PatientAdmin')
|
6
6
|
|
7
|
-
def self.create(patient:
|
7
|
+
def self.create(patient: , meta: Redox::Models::Meta.new)
|
8
8
|
meta = CREATE_META.merge(meta)
|
9
|
-
return Redox::Models::Model.from_response((RedoxClient.connection.request(body: Redox::Request::PatientAdmin.build_body(
|
9
|
+
return Redox::Models::Model.from_response((RedoxClient.connection.request(body: Redox::Request::PatientAdmin.build_body(patient, meta))))
|
10
10
|
end
|
11
11
|
|
12
|
-
def self.update(patient:
|
12
|
+
def self.update(patient: , meta: Redox::Models::Meta.new)
|
13
13
|
meta = UPDATE_META.merge(meta)
|
14
|
-
return Redox::Models::Model.from_response((RedoxClient.connection.request(body: Redox::Request::PatientAdmin.build_body(
|
14
|
+
return Redox::Models::Model.from_response((RedoxClient.connection.request(body: Redox::Request::PatientAdmin.build_body(patient, meta))))
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.build_body(params, meta)
|
data/lib/redox/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Clark
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-06-
|
12
|
+
date: 2020-06-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|