Module: SlackRubyBot

Defined in:
lib/slack-ruby-bot.rb,
lib/slack-ruby-bot/app.rb,
lib/slack-ruby-bot/bot.rb,
lib/slack-ruby-bot/about.rb,
lib/slack-ruby-bot/client.rb,
lib/slack-ruby-bot/config.rb,
lib/slack-ruby-bot/server.rb,
lib/slack-ruby-bot/version.rb,
lib/slack-ruby-bot/hooks/base.rb,
lib/slack-ruby-bot/commands/hi.rb,
lib/slack-ruby-bot/hooks/hello.rb,
lib/slack-ruby-bot/commands/base.rb,
lib/slack-ruby-bot/commands/help.rb,
lib/slack-ruby-bot/hooks/message.rb,
lib/slack-ruby-bot/commands/about.rb,
lib/slack-ruby-bot/commands/unknown.rb

Defined Under Namespace

Modules: Commands, Config, Hooks Classes: App, Bot, Client, Server

Constant Summary collapse

ABOUT =
<<-ABOUT
  #{SlackRubyBot::VERSION}
  https://github.com/dblock/slack-ruby-bot
  https://twitter.com/dblockdotorg
ABOUT
VERSION =
'0.5.5.3'

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/slack-ruby-bot.rb', line 14

def config
  Config
end

.configureObject



10
11
12
# File 'lib/slack-ruby-bot.rb', line 10

def configure
  block_given? ? yield(Config) : Config
end