Sha256: 638efda62dfd5f8dd28b1b1d1fa08bc0810d1f0db5cd94540d72aff38743b98e
Contents?: true
Size: 688 Bytes
Versions: 3
Compression:
Stored size: 688 Bytes
Contents
# This file was auto-generated by lib/generators/tasks/generate.rb module Slack module Endpoint module Presence # # Manually set user presence # # @option options [Object] :presence # Either `active` or `away` # @see https://api.slack.com/methods/presence.set # @see https://github.com/aki017/slack-api-docs/blob/master/methods/presence.set.md # @see https://github.com/aki017/slack-api-docs/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 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slack-api-1.6.1 | lib/slack/endpoint/presence.rb |
slack-api-1.6.0 | lib/slack/endpoint/presence.rb |
slack-api-1.5.0 | lib/slack/endpoint/presence.rb |