Class: ChatNotifier::Chatter::Debug

Inherits:
Slack show all
Defined in:
lib/chat_notifier/chatter/debug.rb

Constant Summary

Constants inherited from Slack

Slack::API_URL, Slack::DEFAULT_THREAD_GROUP_SIZE, Slack::REPLIES_URL, Slack::STATUS_EVENT_TYPE, Slack::UPDATE_URL

Constants inherited from ChatNotifier::Chatter

OPEN_TIMEOUT, READ_TIMEOUT

Instance Attribute Summary

Attributes inherited from Slack

#sleeper

Attributes inherited from ChatNotifier::Chatter

#environment, #repository, #settings, #thread_store

Class Method Summary collapse

Methods inherited from Slack

#api_form_post, #bot_token, #channel, #conditional_post, #default_thread_store, #payload, #post, #thread_group_size, #webhook_url

Methods inherited from ChatNotifier::Chatter

#body, #conditional_post, #default_thread_store, handlers, handling, #http_client, #http_post, #initialize, #payload, #post, register, #verbose?, #webhook_url

Constructor Details

This class inherits a constructor from ChatNotifier::Chatter

Class Method Details

.handles?(settings) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/chat_notifier/chatter/debug.rb', line 9

def handles?(settings)
  !settings.keys.grep(/DEBUG/).empty?
end