Sha256: bd5c5ac9fb589fc38e637c9d8b62f739483dbf0c942f4c0f957bd82e13f1a9b4
Contents?: true
Size: 341 Bytes
Versions: 13
Compression:
Stored size: 341 Bytes
Contents
module Boty module Slack class RTM include Slack::URL url "https://#{ENV["SLACK_COMPANY"]}.slack.com/api/" def start(parameters = {}) defaults = { simple_latest: true, no_unreads: true } url = parameterize defaults.merge(parameters), path: "rtm.start" URL.get url end end end end
Version data entries
13 entries across 13 versions & 1 rubygems