module SlackBot
Constants
- VERSION
Public Class Methods
notify(body: SlackBot.body, bot_name: SlackBot.bot_name, channel: SlackBot.channel, icon_url: SlackBot.icon_url)
click to toggle source
# File lib/slack_bot.rb, line 41 def self.notify(body: SlackBot.body, bot_name: SlackBot.bot_name, channel: SlackBot.channel, icon_url: SlackBot.icon_url) Notify.execute(body, bot_name, channel, icon_url) end
setup() { |self| ... }
click to toggle source
# File lib/slack_bot.rb, line 37 def self.setup yield self if block_given? end