Sha256: 23d7aa4bc1f5aac3a859f0d4f2e7b231580d45dc0523a02775536cd94ede7807

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 Bytes

Contents

module Slacked
  class << self

    def post message = ENV["SLACK_MESSAGE"]
      send = Slack::Notifier.new ENV["SLACK_WEBHOOK"]
      send.ping message, icon_emoji: ":ghost:"
     end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slacked-0.7.0 lib/slacked/slack_post.rb