redox 1.8.4 → 1.8.5
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/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: 6547c4c7bda8d9486cd6a74c2685ddedfd64949e328a5bb08f1840213b3c163b
|
4
|
+
data.tar.gz: e07c9ff67e8b1880dbf5813d6f86b0d77cf2960307e7a21174f6340f148fcfe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fed4bfa319be98143def0d39652e2b2e6b4b676c9d60933369f7b497690366cee3067fb8f679832590f15bafae07979fe59fcf3b85d21bbbd252079f59bc0b1
|
7
|
+
data.tar.gz: 4a42b72f155944d61da3c7bbf44ff6e87401021cdc1f5e1b6fc3c6c80e6f44a374ee4aa14424b9d9042d79c7f4e14b0f44c399f1433e1a4372a723ae9db2297b
|
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.8.5] - 2023-02-16
|
8
|
+
### Added
|
9
|
+
- Notifications to Media Model
|
10
|
+
|
7
11
|
## [1.8.4] - 2022-10-26
|
8
12
|
### Added
|
9
13
|
- ServiceDateTime to Media Model
|
@@ -199,6 +203,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
199
203
|
### Added
|
200
204
|
- Initial Release
|
201
205
|
|
206
|
+
[1.8.5]: https://github.com/WeInfuse/redox/compare/v1.8.4...v1.8.5
|
202
207
|
[1.8.4]: https://github.com/WeInfuse/redox/compare/v1.8.3...v1.8.4
|
203
208
|
[1.8.3]: https://github.com/WeInfuse/redox/compare/v1.8.2...v1.8.3
|
204
209
|
[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.5
|
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-02-21 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: []
|