Module: Slack::Web::Api::Endpoints::UsergroupsUsers
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/usergroups_users.rb
Instance Method Summary collapse
- 
  
    
      #usergroups_users_list(options = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    List all users in a User Group. 
- 
  
    
      #usergroups_users_update(options = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update the list of users for a User Group. 
Instance Method Details
#usergroups_users_list(options = {}) ⇒ Object
List all users in a User Group
| 18 19 20 21 | # File 'lib/slack/web/api/endpoints/usergroups_users.rb', line 18 def usergroups_users_list( = {}) throw ArgumentError.new('Required arguments :usergroup missing') if [:usergroup].nil? post('usergroups.users.list', ) end | 
#usergroups_users_update(options = {}) ⇒ Object
Update the list of users for a User Group
| 34 35 36 37 38 | # File 'lib/slack/web/api/endpoints/usergroups_users.rb', line 34 def usergroups_users_update( = {}) throw ArgumentError.new('Required arguments :usergroup missing') if [:usergroup].nil? throw ArgumentError.new('Required arguments :users missing') if [:users].nil? post('usergroups.users.update', ) end |