Class: Tapjoy::LDAP::Key::Show
- Inherits:
-
Object
- Object
- Tapjoy::LDAP::Key::Show
- Defined in:
- lib/tapjoy/ldap/key/show.rb
Overview
Show all of a user’s keys
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 |
# File 'lib/tapjoy/ldap/key/show.rb', line 6 def show username = opts[:user] keys = Tapjoy::LDAP::Key.get_keys_from_ldap[username] puts "No keys found for #{opts[:user]}" if keys.nil? puts keys end |