Class: AllscriptsUnityClient::ClientDriver
- Inherits:
-
Object
- Object
- AllscriptsUnityClient::ClientDriver
show all
- Defined in:
- lib/allscripts_unity_client/client_driver.rb
Constant Summary
collapse
- LOG_FILE =
'logs/unity_client.log'
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of ClientDriver.
9
10
11
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 9
def initialize(options)
@options = ClientOptions.new(options)
end
|
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
7
8
9
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 7
def options
@options
end
|
#security_token ⇒ Object
Returns the value of attribute security_token.
7
8
9
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 7
def security_token
@security_token
end
|
Instance Method Details
#client_type ⇒ Object
17
18
19
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 17
def client_type
:none
end
|
#get_security_token!(parameters = {}) ⇒ Object
25
26
27
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 25
def get_security_token!(parameters = {})
raise NotImplementedError, 'get_security_token! not implemented'
end
|
#magic(parameters = {}) ⇒ Object
21
22
23
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 21
def magic(parameters = {})
raise NotImplementedError, 'magic not implemented'
end
|
#retire_security_token!(parameters = {}) ⇒ Object
29
30
31
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 29
def retire_security_token!(parameters = {})
raise NotImplementedError, 'retire_security_token! not implemented'
end
|
#security_token? ⇒ Boolean
13
14
15
|
# File 'lib/allscripts_unity_client/client_driver.rb', line 13
def security_token?
!@security_token.nil?
end
|