lib/slack/endpoint/team.rb in slack-api-1.2.4 vs lib/slack/endpoint/team.rb in slack-api-1.3.0
- old
+ new
@@ -8,9 +8,11 @@
#
# @option options [Object] :count
# Number of items to return per page.
# @option options [Object] :page
# Page number of results to return.
+ # @option options [Object] :before
+ # End of time range of logs to include in results (inclusive).
# @see https://api.slack.com/methods/team.accessLogs
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/team.accessLogs.md
# @see https://github.com/aki017/slack-api-docs/blob/master/methods/team.accessLogs.json
def team_accessLogs(options={})
options[:attachments] = options[:attachments].to_json if Hash === options[:attachments]