lib/boty/slack/rtm.rb in boty-0.1.0 vs lib/boty/slack/rtm.rb in boty-0.1.1

- old
+ new

@@ -1,9 +1,9 @@ module Boty module Slack class RTM include Slack::URL - url "https://#{ENV["SLACK_COMPANY"]}.slack.com/api/" + 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