Create LDAP group
7 8 9 10 11 12
# File 'lib/tapjoy/ldap/cli/group/create.rb', line 7 def create # Check for errors Trollop.die :type, "argument must be 'user' or 'service'" unless ['user', 'service'].include?(opts[:type]) puts Tapjoy::LDAP::API::Group.create(opts[:name], opts[:type]) end