Module: Gitlab::Chat

Defined in:
lib/gitlab/chat.rb,
lib/gitlab/chat/output.rb,
lib/gitlab/chat/command.rb,
lib/gitlab/chat/responder.rb,
lib/gitlab/chat/responder/base.rb,
lib/gitlab/chat/responder/slack.rb,
lib/gitlab/chat/responder/mattermost.rb

Defined Under Namespace

Modules: Responder Classes: Command, Output

Class Method Summary collapse

Class Method Details

.available?Boolean

Returns ‘true` if Chatops is available for the current instance.

Returns:

  • (Boolean)


6
7
8
# File 'lib/gitlab/chat.rb', line 6

def self.available?
  ::Feature.enabled?(:chatops)
end