Sha256: 5f96499109babeaaeea2a827ad8000cb1c553fd90c0de63a6d5960d219902ead

Contents?: true

Size: 712 Bytes

Versions: 18

Compression:

Stored size: 712 Bytes

Contents

# This file was auto-generated by lib/slack/web/api/tasks/generate.rake

module Slack
  module Web
    module Api
      module Endpoints
        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/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
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
slack-ruby-client-1.1.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-1.0.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.17.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.16.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.15.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.15.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.6 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.5 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.4 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.3 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.2 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.14.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.13.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.13.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.12.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.11.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.11.0 lib/slack/web/api/endpoints/presence.rb