class Tapjoy::LDAP::CLI::Group::Index

Manipulates data to a format usable by the API structure for group display

Public Instance Methods

index() click to toggle source

Make the API call to show an LDAP user

# File lib/tapjoy/ldap/cli/group/index.rb, line 9
def index
  Tapjoy::LDAP::API::Group.index.each do |entry|
    puts "#{entry.cn.first}:\t#{entry.gidnumber.first}"
  end
end