Skip to content

Commit

Permalink
Merge pull request OperationCode#508 from juliantrueflynn/be-repair/r…
Browse files Browse the repository at this point in the history
…emove-old-slack-api

Remove previous Slack client that is no longer necessary
  • Loading branch information
juliantrueflynn authored Apr 30, 2019
2 parents 1e3e9c4 + 781d5c6 commit ae23877
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 143 deletions.
10 changes: 0 additions & 10 deletions app/jobs/slack_jobs.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
require 'slack/client'

class SlackJobs < ApplicationJob
private

def slack_client
@slack_client ||= Slack::Client.new(
subdomain: ENV.fetch('SLACK_SUBDOMAIN'),
token: ENV.fetch('SLACK_LEGACY_ADMIN_TOKEN') # admin token required to invite
)
end
end
9 changes: 0 additions & 9 deletions app/jobs/slack_jobs/notifier_job.rb

This file was deleted.

101 changes: 0 additions & 101 deletions app/lib/slack/client.rb

This file was deleted.

23 changes: 0 additions & 23 deletions app/lib/slack/utils.rb

This file was deleted.

0 comments on commit ae23877

Please sign in to comment.