module Slack::Web::Team

Module for the teams methods.

Constants

SCOPE

Endpoint scope

Public Instance Methods

team_access_logs(params = {}) click to toggle source

Gets the access logs for a team.

@param [Hash] params

API call arguments

@option params [Object] 'count'

Number of items to return per page.

@option params [Object] 'page'

Page number of results to return.

@see api.slack.com/methods/team.access_logs

# File lib/slack/web/team.rb, line 21
def team_access_logs(params = {})
  response = @session.do_post "#{SCOPE}.accessLogs", params
  Slack.parse_response(response)
end
team_info(params = {}) click to toggle source

This method provides information about your team.

@param [Hash] params

API call arguments
# File lib/slack/web/team.rb, line 30
def team_info(params = {})
  response = @session.do_post "#{SCOPE}.info", params
  Slack.parse_response(response)
end