Class: Tapjoy::LDAP::CLI::User::Create

Inherits:
Object
  • Object
show all
Defined in:
lib/tapjoy/ldap/cli/user/create.rb

Overview

Manipulates data to a format usable by the API structure

Instance Method Summary collapse

Instance Method Details

#createObject

Tapjoy::LDAP::CLI::User::Create#create Make the API call to create an LDAP user



9
10
11
12
13
14
# File 'lib/tapjoy/ldap/cli/user/create.rb', line 9

def create
  verify_arguments
  fname, lname = opts[:user]
  puts Tapjoy::LDAP::API::User.create(fname, lname,
    opts[:type], opts[:group])
end