Class: Tapjoy::LDAP::CLI::Group::Index

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#indexObject

Make the API call to show an LDAP user



9
10
11
12
13
# 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