slack-ruby/slack-ruby-bot

View on GitHub
lib/slack-ruby-bot.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require File.expand_path('config/environment', __dir__)

require 'slack-ruby-bot/version'
require 'slack-ruby-bot/support/loggable'
require 'slack-ruby-bot/about'
require 'slack-ruby-bot/config'
require 'slack-ruby-bot/hooks'

module SlackRubyBot
  class << self
    def configure
      block_given? ? yield(Config) : Config
    end

    def config
      Config
    end
  end
end

require 'slack-ruby-client'
require 'slack-ruby-bot/commands'
require 'slack-ruby-bot/client'
require 'slack-ruby-bot/server'
require 'slack-ruby-bot/app'
require 'slack-ruby-bot/bot'
require 'slack-ruby-bot/mvc'