Sha256: 0bce4afc9b4ab734a81351354f84a32361b357a813f631fbe8e4442120b317f4

Contents?: true

Size: 708 Bytes

Versions: 26

Compression:

Stored size: 708 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/dblock/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

26 entries across 26 versions & 2 rubygems

Version Path
slack-ruby-client-bhe-0.5.5 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-bhe-0.5.4 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.10.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.9.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.9.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.8.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.8.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.9 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.8 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.7 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.6 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.5 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.4 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.3 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.2 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.1 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.7.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.6.0 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.5.4 lib/slack/web/api/endpoints/presence.rb
slack-ruby-client-0.5.3 lib/slack/web/api/endpoints/presence.rb