Exception: AllscriptsApi::NoConfigurationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- AllscriptsApi::NoConfigurationError
- Defined in:
- lib/allscripts_api.rb
Overview
Error raised if AllscriptsApi.connect is called without configuring the gem first
Class Method Summary collapse
-
.error_message ⇒ String
method to return a sample config block.
Class Method Details
.error_message ⇒ String
method to return a sample config block
35 36 37 38 39 40 41 42 43 |
# File 'lib/allscripts_api.rb', line 35 def self. %(Please add the following to config/initializers and try again. AllscriptsApi.configure do |config| config.app_name = 'YOUR_APP_NAME_HERE' config.app_username = 'YOUR_APP_USERNAME_HERE' config.app_password = 'YOUR_APP_PASSWORD_HERE' end ) end |