redox 1.8.4 → 1.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/redox/models/media/notification.rb +16 -0
- data/lib/redox/models/media.rb +14 -12
- data/lib/redox/version.rb +1 -1
- data/lib/redox.rb +1 -0
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5742373796299f7b326bcdf0092a6cc6048ea5af88f9b99352393078fa2274c3
|
4
|
+
data.tar.gz: 61af84c3bf51295755730f5e8f12db9be8290341ec41c53b42cbea26bfbc0ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d09ec3e490dc6f82c147e2e54e68f5ad66466b7488a84ffad9eae5300cdc30e1f5260e1132b0713a8955edc1528e2228b5152035f42820bb75f004d9e465fc5d
|
7
|
+
data.tar.gz: bd8b9a01d13eaccbe0a8dcfafc90de10ee1dc88b63add310b06436a1aa2d4453c8a77dc89db5e71c9737a3fee8571cb6500251f977dd680bafac5a29b5d6998e
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,14 @@ 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.8.6] - 2023-05-12
|
8
|
+
### Changed
|
9
|
+
- Updated test JSON files for update retiring Meta.Message.ID and Meta.Transmission.ID
|
10
|
+
|
11
|
+
## [1.8.5] - 2023-02-16
|
12
|
+
### Added
|
13
|
+
- Notifications to Media Model
|
14
|
+
|
7
15
|
## [1.8.4] - 2022-10-26
|
8
16
|
### Added
|
9
17
|
- ServiceDateTime to Media Model
|
@@ -199,6 +207,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
199
207
|
### Added
|
200
208
|
- Initial Release
|
201
209
|
|
210
|
+
[1.8.6]: https://github.com/WeInfuse/redox/compare/v1.8.5...v1.8.6
|
211
|
+
[1.8.5]: https://github.com/WeInfuse/redox/compare/v1.8.4...v1.8.5
|
202
212
|
[1.8.4]: https://github.com/WeInfuse/redox/compare/v1.8.3...v1.8.4
|
203
213
|
[1.8.3]: https://github.com/WeInfuse/redox/compare/v1.8.2...v1.8.3
|
204
214
|
[1.8.2]: https://github.com/WeInfuse/redox/compare/v1.8.1...v1.8.2
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Redox
|
2
|
+
module Models
|
3
|
+
class Notification < AbstractModel
|
4
|
+
property :Credentials, required: false, default: []
|
5
|
+
property :FirstName, required: false, from: :first_name
|
6
|
+
property :ID, from: :id
|
7
|
+
property :IDType, from: :id_type
|
8
|
+
property :LastName, required: false, from: :last_name
|
9
|
+
|
10
|
+
alias_method :first_name, :FirstName
|
11
|
+
alias_method :id_type, :IDType
|
12
|
+
alias_method :id, :ID
|
13
|
+
alias_method :last_name, :LastName
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/redox/models/media.rb
CHANGED
@@ -3,27 +3,29 @@ module Redox
|
|
3
3
|
class Media < AbstractModel
|
4
4
|
BLOB_REQUIRED_SIZE = 200 * 1024
|
5
5
|
|
6
|
-
property :FileType, from: :file_type, required: false
|
7
|
-
property :FileName, from: :file_name, required: false
|
8
|
-
property :FileContents, from: :file_contents, required: false
|
9
|
-
property :DocumentType, from: :document_type, required: false
|
10
|
-
property :DocumentID, from: :document_id, required: false
|
11
6
|
property :Availability, from: :availability, required: false
|
12
|
-
property :Provider, from: :provider, required: false
|
13
7
|
property :DirectAddressFrom, from: :direct_address_from, required: false
|
14
8
|
property :DirectAddressTo, from: :direct_address_to, required: false
|
9
|
+
property :DocumentID, from: :document_id, required: false
|
10
|
+
property :DocumentType, from: :document_type, required: false
|
11
|
+
property :FileContents, from: :file_contents, required: false
|
12
|
+
property :FileName, from: :file_name, required: false
|
13
|
+
property :FileType, from: :file_type, required: false
|
14
|
+
property :Notifications, from: :notifications, required: false, default: []
|
15
|
+
property :Provider, from: :provider, required: false
|
15
16
|
property :ServiceDateTime, from: :service_date_time, required: false
|
16
17
|
|
17
|
-
alias_method :file_type, :FileType
|
18
|
-
alias_method :file_name, :FileName
|
19
|
-
alias_method :file_contents, :FileContents
|
20
|
-
alias_method :document_type, :DocumentType
|
21
|
-
alias_method :document_id, :DocumentID
|
22
18
|
alias_method :availability, :Availability
|
23
|
-
alias_method :provider, :Provider
|
24
19
|
alias_method :direct_address_from, :DirectAddressFrom
|
25
20
|
alias_method :direct_address_to, :DirectAddressTo
|
21
|
+
alias_method :document_id, :DocumentID
|
22
|
+
alias_method :document_type, :DocumentType
|
23
|
+
alias_method :file_contents, :FileContents
|
24
|
+
alias_method :file_name, :FileName
|
25
|
+
alias_method :file_type, :FileType
|
26
|
+
alias_method :provider, :Provider
|
26
27
|
alias_method :service_date_time, :ServiceDateTime
|
28
|
+
alias_method :notifications, :Notifications
|
27
29
|
|
28
30
|
def availability=(value)
|
29
31
|
case value
|
data/lib/redox/version.rb
CHANGED
data/lib/redox.rb
CHANGED
@@ -15,6 +15,7 @@ require 'redox/models/financial'
|
|
15
15
|
require 'redox/models/notes'
|
16
16
|
require 'redox/models/note'
|
17
17
|
require 'redox/models/media'
|
18
|
+
require 'redox/models/media/notification'
|
18
19
|
require 'redox/models/media_upload'
|
19
20
|
require 'redox/models/medication'
|
20
21
|
require 'redox/models/medications'
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Clark
|
8
8
|
- Mike Crockett
|
9
9
|
- Mike Carr
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-05-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: httparty
|
@@ -130,7 +130,7 @@ dependencies:
|
|
130
130
|
- - "~>"
|
131
131
|
- !ruby/object:Gem::Version
|
132
132
|
version: '0.9'
|
133
|
-
description:
|
133
|
+
description:
|
134
134
|
email:
|
135
135
|
- alexander.clark@weinfuse.com
|
136
136
|
- mike.crockett@weinfuse.com
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- lib/redox/models/component.rb
|
152
152
|
- lib/redox/models/financial.rb
|
153
153
|
- lib/redox/models/media.rb
|
154
|
+
- lib/redox/models/media/notification.rb
|
154
155
|
- lib/redox/models/media_upload.rb
|
155
156
|
- lib/redox/models/medication.rb
|
156
157
|
- lib/redox/models/medications.rb
|
@@ -187,7 +188,7 @@ licenses:
|
|
187
188
|
- MIT
|
188
189
|
metadata:
|
189
190
|
allowed_push_host: https://rubygems.org
|
190
|
-
post_install_message:
|
191
|
+
post_install_message:
|
191
192
|
rdoc_options: []
|
192
193
|
require_paths:
|
193
194
|
- lib
|
@@ -202,8 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
203
|
- !ruby/object:Gem::Version
|
203
204
|
version: '0'
|
204
205
|
requirements: []
|
205
|
-
rubygems_version: 3.
|
206
|
-
signing_key:
|
206
|
+
rubygems_version: 3.1.6
|
207
|
+
signing_key:
|
207
208
|
specification_version: 4
|
208
209
|
summary: Ruby wrapper for the Redox Engine API
|
209
210
|
test_files: []
|