lib/slack/web/api/endpoints/presence.rb in slack-ruby-client-0.10.0 vs lib/slack/web/api/endpoints/presence.rb in slack-ruby-client-0.11.0
- old
+ new
@@ -9,10 +9,10 @@
# Manually set user presence.
#
# @option options [Object] :presence
# Either `active` or `away`.
# @see https://api.slack.com/methods/presence.set
- # @see https://github.com/dblock/slack-api-ref/blob/master/methods/presence.set.json
+ # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/presence.set.json
def presence_set(options = {})
throw ArgumentError.new('Required arguments :presence missing') if options[:presence].nil?
post('presence.set', options)
end
end