Class: Tapjoy::LDAP::CLI::Group::AddUser

Inherits:
Object
  • Object
show all
Defined in:
lib/tapjoy/ldap/cli/group/add_user.rb

Overview

Add existing user to existing group

Instance Method Summary collapse

Instance Method Details

#add_userObject



7
8
9
10
# File 'lib/tapjoy/ldap/cli/group/add_user.rb', line 7

def add_user
  puts Tapjoy::LDAP::API::Group.update(
    opts[:group], opts[:username], :add)
end