module Sm
Constants
- VERSION
Public Class Methods
psm(channel, msg, as_user, icon_emoji, api_url)
click to toggle source
# File lib/sm.rb, line 6 def self.psm(channel, msg, as_user, icon_emoji, api_url) begin PostSlackMessage.to channel, msg, as_user, icon_emoji, api_url rescue RestClient::Exception => e sm_error = Error.new e raise sm_error end end