Module: Slackathon

Defined in:
lib/slackathon.rb,
lib/slackathon/engine.rb,
lib/slackathon/command.rb,
lib/slackathon/version.rb,
app/jobs/slackathon/application_job.rb,
app/jobs/slackathon/slack_command_job.rb,
app/controllers/slackathon/webhooks_controller.rb,
app/controllers/slackathon/application_controller.rb

Defined Under Namespace

Classes: ApplicationController, ApplicationJob, Command, Engine, SlackCommandJob, WebhooksController

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.queueObject


13
14
15
# File 'lib/slackathon.rb', line 13

def self.queue
  @queue ||= "slack"
end

.queue=(queue) ⇒ Object


17
18
19
# File 'lib/slackathon.rb', line 17

def self.queue=(queue)
  @queue = queue
end

.verification_tokenObject


5
6
7
# File 'lib/slackathon.rb', line 5

def self.verification_token
  @verification_token ||= ENV["SLACK_VERIFICATION_TOKEN"]
end

.verification_token=(token) ⇒ Object


9
10
11
# File 'lib/slackathon.rb', line 9

def self.verification_token=(token)
  @verification_token = token
end