6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/jarvis/configuration.rb', line 6
def self.included(base)
base.include ActiveSupport::Configurable
base.configure do |config|
config.bot_name = "Jarvis"
config.hello_message = "Hello, I'm #{config.bot_name}"
config.default_response = "What is this, I don't even"
config.unfit_environment_response = "I'm really sorry, but that service needs to be configured"
config.third_party_api_failure_respone = "Most unfortunately, that service is not working right now."
config.standard_error_response = "I'm sorry, Something went wrong."
config.autoload_paths = ["bot/services"]
end
end
|