Sha256: 96620d1df95ca2777c5671223f9d314cfff8566b243e631f6839fb1ac449bb99
Contents?: true
Size: 834 Bytes
Versions: 4
Compression:
Stored size: 834 Bytes
Contents
module Slack class Client attr_reader :access_token def initialize(access_token=nil) @access_token = access_token end def auth @auth ||= Slack::API::Auth.new(access_token) end def channels @channels ||= Slack::API::Channels.new(access_token) end def chat @chat ||= Slack::API::Chat.new(access_token) end def conversations @conversations ||= Slack::API::Conversations.new(access_token) end def im @im ||= Slack::API::IM.new(access_token) end def groups @groups ||= Slack::API::Groups.new(access_token) end def oauth @oauth ||= Slack::API::OAuth.new end def rtm @rtm ||= Slack::API::RTM.new(access_token) end def users @users ||= Slack::API::Users.new(access_token) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
laziness-0.2.6 | lib/laziness/client.rb |
laziness-0.2.5 | lib/laziness/client.rb |
laziness-0.2.4 | lib/laziness/client.rb |
laziness-0.2.3 | lib/laziness/client.rb |