Sha256: 55e21d992d11be68a0b59847993ae097bba212bd1c3880392d35643df6b5eab6

Contents?: true

Size: 1.38 KB

Versions: 15

Compression:

Stored size: 1.38 KB

Contents

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

desc 'UsergroupsUsers methods.'
command 'usergroups_users' do |g|
  g.desc 'This method returns a list of all users within a User Group.'
  g.long_desc %( This method returns a list of all users within a User Group. )
  g.command 'list' do |c|
    c.flag 'usergroup', desc: 'The encoded ID of the User Group to update.'
    c.flag 'include_disabled', desc: 'Allow results that involve disabled User Groups.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.usergroups_users_list(options))
    end
  end

  g.desc 'This method updates the list of users that belong to a User Group. This method replaces all users in a User Group with the list of users provided in the users parameter.'
  g.long_desc %( This method updates the list of users that belong to a User Group. This method replaces all users in a User Group with the list of users provided in the users parameter. )
  g.command 'update' do |c|
    c.flag 'usergroup', desc: 'The encoded ID of the User Group to update.'
    c.flag 'users', desc: 'A comma separated string of encoded user IDs that represent the entire list of users for the User Group.'
    c.flag 'include_count', desc: 'Include the number of users in the User Group.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.usergroups_users_update(options))
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.4 bin/commands/usergroups_users.rb
slack-ruby-client-0.14.3 bin/commands/usergroups_users.rb
slack-ruby-client-0.14.2 bin/commands/usergroups_users.rb
slack-ruby-client-0.9.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.8.1 bin/commands/usergroups_users.rb
slack-ruby-client-0.8.0 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.9 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.8 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.7 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.6 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.5 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.4 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.3 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.2 bin/commands/usergroups_users.rb
slack-ruby-client-0.7.1 bin/commands/usergroups_users.rb