Class: Tapjoy::LDAP::CLI::User::Delete
- Inherits:
-
Object
- Object
- Tapjoy::LDAP::CLI::User::Delete
- Defined in:
- lib/tapjoy/ldap/cli/user/delete.rb
Overview
Manipulates data to a format usable by the API structure for user removal
Instance Method Summary collapse
-
#delete ⇒ Object
Make the API call to remove an LDAP user.
Instance Method Details
#delete ⇒ Object
Make the API call to remove an LDAP user
9 10 11 12 13 |
# File 'lib/tapjoy/ldap/cli/user/delete.rb', line 9 def delete verify_arguments confirm unless opts[:force] puts Tapjoy::LDAP::API::User.destroy(opts[:user], opts[:type]) end |