lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.6.0 vs lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.7.0
- old
+ new
@@ -7,20 +7,20 @@
module Team
#
# This method is used to get the access logs for users on a team.
#
# @see https://api.slack.com/methods/team.accessLogs
- # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team.accessLogs.json
+ # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team/team.accessLogs.json
def team_accessLogs(options = {})
post('team.accessLogs', options)
end
#
# This method provides information about your team.
#
# @see https://api.slack.com/methods/team.info
- # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team.info.json
+ # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team/team.info.json
def team_info(options = {})
post('team.info', options)
end
#
@@ -33,10 +33,10 @@
# @option options [user] :user
# Filter logs generated by this user's actions. Defaults to all logs.
# @option options [Object] :change_type
# Filter logs with this change type. Defaults to all logs.
# @see https://api.slack.com/methods/team.integrationLogs
- # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team.integrationLogs.json
+ # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team/team.integrationLogs.json
def team_integrationLogs(options = {})
options = options.merge(user: users_id(options)['user']['id']) if options[:user]
post('team.integrationLogs', options)
end
end