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

- old
+ new

@@ -8,12 +8,20 @@ require "boty/slack/message" module Boty module Slack class << self - def chat; @chat ||= Chat.new end - def rtm; @rtm ||= RTM.new end - def users; @users ||= Users.new end + def chat + @chat ||= Chat.new + end + + def rtm + @rtm ||= RTM.new + end + + def users + @users ||= Users.new + end end def User(user_id) return unless user_id Boty::Slack::User.new "id" => user_id