This commit is contained in:
benji 2015-04-04 01:47:02 +02:00
parent be9c967db2
commit 0105c30a36
2 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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