module Fly
Public Class Methods
message(data, text, icon, username)
click to toggle source
# File lib/enerbot.rb, line 2 def self.message(data, text, icon, username) client = Slack::RealTime::Client.new client.web_client.chat_postMessage channel: data.channel, text: text, icon_emoji: icon, username: username end