Module: Slack::Web::Team
- Included in:
- Slack::Web
- Defined in:
- lib/slack/web/api.rb,
lib/slack/web/team.rb
Constant Summary collapse
- SCOPE =
"team"
Instance Method Summary collapse
-
#api_test(params = {}) ⇒ Object
Checks API calling code.
-
#team_access_logs(params = {}) ⇒ Object
Gets the access logs for a team.
Instance Method Details
#api_test(params = {}) ⇒ Object
Checks API calling code.
7 8 9 10 |
# File 'lib/slack/web/api.rb', line 7 def api_test(params={}) response = @session.do_get "#{SCOPE}.test", params Slack::parse_response(response) end |
#team_access_logs(params = {}) ⇒ Object
Gets the access logs for a team.
7 8 9 10 |
# File 'lib/slack/web/team.rb', line 7 def team_access_logs(params={}) response = @session.do_get "#{SCOPE}.accessLogs", params Slack::parse_response(response) end |