Sha256: 1db3a76acbb1df73a46452a214d74e33a54a155788f3bb4b47c44d8ff32a1785
Contents?: true
Size: 332 Bytes
Versions: 3
Compression:
Stored size: 332 Bytes
Contents
require "sm/version" require 'sm/post_slack_message' require 'sm/exceptions' module Sm 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sm-2.0.0 | lib/sm.rb |
sm-1.0.0 | lib/sm.rb |
sm-0.2.1 | lib/sm.rb |