secrets
This commit is contained in:
parent
be9c967db2
commit
0105c30a36
2 changed files with 2 additions and 5 deletions
|
@ -12,8 +12,8 @@ class Webhook
|
||||||
}
|
}
|
||||||
|
|
||||||
self.hook = Tarumi::Bot.new(
|
self.hook = Tarumi::Bot.new(
|
||||||
Tab002::ZEUS_TEAM,
|
"zeuswpi",
|
||||||
Tab002::ZEUS_TOKEN,
|
Rails.application.secrets.zeus_token
|
||||||
options
|
options
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
|
@ -7,9 +7,6 @@ require 'rails/all'
|
||||||
Bundler.require(*Rails.groups)
|
Bundler.require(*Rails.groups)
|
||||||
|
|
||||||
module Tab002
|
module Tab002
|
||||||
ZEUS_TEAM = 'zeuswpi'
|
|
||||||
ZEUS_TOKEN = Rails.application.secrets.zeus_token
|
|
||||||
|
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration should go into files in config/initializers
|
# Application configuration should go into files in config/initializers
|
||||||
|
|
Loading…
Reference in a new issue