Sha256: 62828b0d9bf304e6b25deda56089c82d3bde6126943a302fbdbec87930aa7437

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

class SlackSmartBot
  def get_smartbot_team_info(token=nil)
    token = config.token if token.nil?
    client_web = Slack::Web::Client.new(token: token)
    client_web.auth_test
    resp = client_web.team_info
    client_web = nil
    return resp
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-smart-bot-1.15.25 lib/slack/smart-bot/comm/get_smartbot_team_info.rb
slack-smart-bot-1.15.1 lib/slack/smart-bot/comm/get_smartbot_team_info.rb
slack-smart-bot-1.15.0 lib/slack/smart-bot/comm/get_smartbot_team_info.rb