Module: SlackBot

Defined in:
lib/slack_bot.rb,
lib/slack_bot/engine.rb,
lib/slack_bot/version.rb,
app/models/slack_bot/notify.rb

Defined Under Namespace

Classes: Engine, Notify

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.notifyObject



32
33
34
# File 'lib/slack_bot.rb', line 32

def self.notify
  Notify.execute
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (SlackBot)

    the object that the method was called on



28
29
30
# File 'lib/slack_bot.rb', line 28

def self.setup
  yield self if block_given?
end