Remove slack support from Tap

This commit is contained in:
benji 2015-09-04 14:14:49 +02:00
parent d9cc0ee30e
commit 3c4ada0704
2 changed files with 0 additions and 27 deletions

View file

@ -1,24 +0,0 @@
class Webhook
DEFAULT_USERNAME = "Tab"
attr_accessor :hook
def initialize(attributes = {})
options = {
channel: (attributes[:channel]),
username: (attributes[:username] || DEFAULT_USERNAME),
icon_url: attributes[:icon_url],
icon_emoji: attributes[:icon_emoji]
}
self.hook = Tarumi::Bot.new(
"zeuswpi",
Rails.application.secrets.zeus_token,
options
)
end
def ping(text)
self.hook.ping(text)
end
end

View file

@ -14,12 +14,10 @@ development:
secret_key_base: 5d40610321e19e4f71ee2ba8af4f426fe15096c405da3800c6b33bed6779f2d11f55a0edc455974b19a01fd71f6cd508dba980305dbc55ff82521a2d12f891d8
omniauth_client_id: tomtest
omniauth_client_secret: blargh
zeus_token: "token"
access_token: "token"
test:
secret_key_base: 961437e28e7d6055ffaad9cf1f8d614354f57f10cb2d7601c9d6ede72a03b9c9535ad9e63507e3eb31252c4895970a63117493408f2e9a46c7a0c4a5a7836b81
zeus_token: "token"
access_token: "token"
# Do not keep production secrets in the repository,
@ -28,5 +26,4 @@ production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
omniauth_client_id: ""
omniauth_client_secret: ""
zeus_token: ""
access_token: ""