allscripts_unity_client 5.1.4.pre.1 → 5.1.4.pre.2

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: 5ba12a7ebe3adb5d2e8cd917d4738368511f73bdaa758e15f1e72bf0023e103b
4
- data.tar.gz: 1c64e17837b5dcf21bac3a28505035e73eb9563b8541013d0569a18ea2eaccfa
3
+ metadata.gz: 1cd419db9464103231d2e1b7044c34840f542135bb2d4518faa9d41fc88daff7
4
+ data.tar.gz: 9526031d5892f9027b4187c43af8a6f1e729778c8f92e3e4eff76c80dbb37595
5
5
  SHA512:
6
- metadata.gz: 6e4dc65ce049504d12b2575207ff62dbd186948776e96cb248e8d5a712bfb578a17e1c3090b4807066295c1dd863b0f47c192991e8ded7a33dbc0779d3b1a3aa
7
- data.tar.gz: 4e203653e9ae7da11c44973593ad39835f15bf32b45acc19455a767e8b84e176f2e2926e0c1f8556fff9fb236deab8acb7e5b883d81a7f79f8eb8323075efb5e
6
+ metadata.gz: fe8d74bc4de10e786383520be7087e5f0b54f11ebf15c215122dc6fd7050edfc60ec19ad746523c6602c4cc3e6aa18f40f14d24f907a52fd89bce849ce6872df
7
+ data.tar.gz: ee1b9965206af242b19f121b32deda6d5f0773cfed21be2f510169afc2626b29b69f3a60e4b18d2f4e2f350b70e8fb29f716255815f97088f39f51da4970976a
@@ -3,7 +3,7 @@ module AllscriptsUnityClient
3
3
  # Contains various options for Unity configuration.
4
4
  class ClientOptions
5
5
  attr_accessor :proxy, :logger, :ca_file, :ca_path, :timeout, :ehr_userid, :ehr_password
6
- attr_reader :base_unity_url, :username, :password, :appname, :timezone, :raw_dates, :is_ubiquity_url
6
+ attr_reader :base_unity_url, :username, :password, :appname, :timezone, :raw_dates, :use_ubiquity
7
7
 
8
8
  # Constructor.
9
9
  #
@@ -20,7 +20,7 @@ module AllscriptsUnityClient
20
20
  # - :base_unity_url - The URL where a Unity server is located (i.e. https://unity.server.com) __(required)__
21
21
  # - :ehr_userid - Allscripts EHR Username for user authentication __(required)__.
22
22
  # - :ehr_password - EHR Password for user authentication __(required)__.
23
- # - :is_ubiquity_url - Specifies whether the base_unity_url is a ubiquity endpoint
23
+ # - :use_ubiquity - Specifies whether the base_unity_url is a ubiquity endpoint
24
24
  def initialize(options = {})
25
25
  @username = options[:username]
26
26
  @password = options[:password]
@@ -63,11 +63,11 @@ module AllscriptsUnityClient
63
63
  @base_unity_url = base_unity_url.gsub(/\/$/, '')
64
64
  end
65
65
 
66
- # Mutator for @is_ubiquity_url.
66
+ # Mutator for @use_ubiquity.
67
67
  #
68
68
  # defaults value to false if nil
69
- def is_ubiquity_url=(is_ubiquity_url)
70
- @is_ubiquity_url = is_ubiquity_url || false
69
+ def use_ubiquity=(use_ubiquity)
70
+ @use_ubiquity = use_ubiquity || false
71
71
  end
72
72
 
73
73
  # Mutator for username.
@@ -41,7 +41,7 @@ module AllscriptsUnityClient
41
41
  end
42
42
 
43
43
  def build_uri(request_location)
44
- endpoint = @options.is_ubiquity_url ? UBIQUITY_JSON_ENDPOINT : UNITY_JSON_ENDPOINT
44
+ endpoint = @options.use_ubiquity ? UBIQUITY_JSON_ENDPOINT : UNITY_JSON_ENDPOINT
45
45
  "#{@options.base_unity_url}#{[endpoint, request_location].join('/')}"
46
46
  end
47
47
 
@@ -1,3 +1,3 @@
1
1
  module AllscriptsUnityClient
2
- VERSION = '5.1.4.pre.1'.freeze
2
+ VERSION = '5.1.4.pre.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allscripts_unity_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.4.pre.1
4
+ version: 5.1.4.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - healthfinch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-19 00:00:00.000000000 Z
11
+ date: 2024-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient