Class: Scooter::LDAP::LDAPFixtures
- Inherits:
-
Object
- Object
- Scooter::LDAP::LDAPFixtures
- Defined in:
- lib/scooter/ldap/ldap_fixtures.rb
Instance Attribute Summary collapse
-
#users ⇒ Object
readonly
Returns the value of attribute users.
Class Method Summary collapse
Instance Attribute Details
#users ⇒ Object (readonly)
Returns the value of attribute users.
4 5 6 |
# File 'lib/scooter/ldap/ldap_fixtures.rb', line 4 def users @users end |
Class Method Details
.users(test_uid = nil) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/scooter/ldap/ldap_fixtures.rb', line 7 def self.users(test_uid=nil) { 'howard' => { :cn => "howard#{test_uid}", :sn => "lovecraft", :displayName => "Howard P. Lovecraft#{test_uid}", :mail => "[email protected]" }, 'sylvia' => { :cn => "sylvia#{test_uid}", :sn => "plath", :displayName => "Sylvia Plath#{test_uid}", :mail => "[email protected]" }, 'guillermo' => { :cn => "guillermo#{test_uid}", :sn => "del toro", :displayName => "Guillermo del Toro#{test_uid}", :mail => "[email protected]" }, 'jorge' => { :cn => "jorge#{test_uid}", :sn => "borges", :displayName => "Jorge Borges#{test_uid}", :mail => "[email protected]" }, 'arthur' => { :cn => "arthur#{test_uid}", :sn => "doyle", :displayName => "Sir Arthur Conan Doyle#{test_uid}", :mail => "[email protected]" }, 'oscar' => { :cn => "oscar#{test_uid}", :sn => 'wilde', :displayName => "Oscar Fingal O'Flahertie Wills Wilde#{test_uid}", :mail => '[email protected]' }, 'stephen' => { :cn => "stephen#{test_uid}", :sn => 'sondheim', :displayName => "Stephen Sondheim#{test_uid}", :mail => '[email protected]' }, 'tony' => { :cn => "tony#{test_uid}", :sn => "stark", :displayName => "Tony Stark#{test_uid}", :mail => "[email protected]" } } end |