Class: Tapjoy::LDAP::CLI::User::Show
- Inherits:
-
Object
- Object
- Tapjoy::LDAP::CLI::User::Show
- Defined in:
- lib/tapjoy/ldap/cli/user/show.rb
Overview
Manipulates data to a format usable by the API structure for user display
Instance Method Summary collapse
-
#show ⇒ Object
Make the API call to show an LDAP user.
Instance Method Details
#show ⇒ Object
Make the API call to show an LDAP user
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/tapjoy/ldap/cli/user/show.rb', line 9 def show Tapjoy::LDAP::API::User.show(opts[:user]).each do |entry| puts "DN: #{entry.dn}" entry.each do |attribute, values| puts " #{attribute}:" values.each do |value| puts " --->#{value}" end end end end |