Class: Tapjoy::LDAP::CLI::Group::RemoveUser

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

Overview

Remove existing user to existing group

Instance Method Summary collapse

Instance Method Details

#remove_userObject



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

def remove_user
  confirm unless opts[:force]
  puts Tapjoy::LDAP::API::Group.update(
    opts[:group], opts[:username], :delete)
end