Sha256: c9e5e27ef61026cd09352e3695e7b4acf0d918c6d913b76935954e30925b96f8

Contents?: true

Size: 684 Bytes

Versions: 4

Compression:

Stored size: 684 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

desc 'AdminUsersSession methods.'
command 'admin_users_session' do |g|
  g.desc 'Wipes all valid sessions on all devices for a given user'
  g.long_desc %( Wipes all valid sessions on all devices for a given user )
  g.command 'reset' do |c|
    c.flag 'user_id', desc: 'The ID of the user to wipe sessions for.'
    c.flag 'mobile_only', desc: 'Only expire mobile sessions (default: false).'
    c.flag 'web_only', desc: 'Only expire web sessions (default: false).'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.admin_users_session_reset(options))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-0.15.1 bin/commands/admin_users_session.rb
slack-ruby-client-0.15.0 bin/commands/admin_users_session.rb
slack-ruby-client-0.14.6 bin/commands/admin_users_session.rb
slack-ruby-client-0.14.5 bin/commands/admin_users_session.rb