module Slack

api.slack.com/methods/bots.info

api.slack.com/methods/channels.list api.slack.com/methods/channels.create api.slack.com/methods/channels.archive api.slack.com/methods/channels.unarchive api.slack.com/methods/channels.info api.slack.com/methods/channels.history api.slack.com/methods/channels.join api.slack.com/methods/channels.leave api.slack.com/methods/channels.invite api.slack.com/methods/channels.kick api.slack.com/methods/channels.rename api.slack.com/methods/channels.setPurpose api.slack.com/methods/channels.setTopic

api.slack.com/methods/chat.update api.slack.com/methods/chat.delete api.slack.com/methods/chat.postMessage api.slack.com/methods/chat.meMessage api.slack.com/methods/chat.postMessage

api.slack.com/methods/files.list api.slack.com/methods/files.delete api.slack.com/methods/files.upload api.slack.com/methods/files.comments.add api.slack.com/methods/files.comments.delete api.slack.com/methods/files.comments.edit api.slack.com/methods/files.revokePublicURL api.slack.com/methods/files.sharedPublicURL

api.slack.com/methods/im.open api.slack.com/methods/im.close api.slack.com/methods/im.history api.slack.com/methods/im.list

api.slack.com/methods/apps.permissions.info api.slack.com/methods/apps.permissions.request Slack API still in development for feature, leaving as is for now

api.slack.com/methods/rtm.connect api.slack.com/methods/rtm.start

api.slack.com/methods/users.info api.slack.com/methods/users.list api.slack.com/methods/users.profile.get api.slack.com/methods/users.profile.set

Public Class Methods

config() click to toggle source
# File lib/slack-wrapper/config.rb, line 15
def config
  Config
end
configure() { |Config| ... } click to toggle source
# File lib/slack-wrapper/config.rb, line 12
def configure
  block_given? ? yield(Config) : Config
end

Public Instance Methods

id() click to toggle source
# File lib/slack-wrapper.rb, line 12
def id
  Slack::API::Auth.whoami['id']
end
name() click to toggle source
# File lib/slack-wrapper.rb, line 15
def name
  Slack::API::Auth.whoami['name']
end