Module: Slack::Web::Team
- Included in:
- Slack::Web
- Defined in:
- lib/slack/web/team.rb
Overview
Module for the teams methods.
Constant Summary collapse
- SCOPE =
Endpoint scope
'team'
Instance Method Summary collapse
-
#team_access_logs(params = {}) ⇒ Object
Gets the access logs for a team.
-
#team_info(params = {}) ⇒ Object
This method provides information about your team.
Instance Method Details
#team_access_logs(params = {}) ⇒ Object
Gets the access logs for a team.
21 22 23 24 |
# 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 = {}) ⇒ Object
This method provides information about your team.
30 31 32 33 |
# File 'lib/slack/web/team.rb', line 30 def team_info(params = {}) response = @session.do_post "#{SCOPE}.info", params Slack.parse_response(response) end |