Class: Infrataster::Resources::LdapResource
- Inherits:
-
BaseResource
- Object
- BaseResource
- Infrataster::Resources::LdapResource
- Defined in:
- lib/infrataster/resources/ldap_resource.rb
Constant Summary collapse
- Error =
Class.new(StandardError)
Instance Attribute Summary collapse
-
#basedn ⇒ Object
readonly
Returns the value of attribute basedn.
Instance Method Summary collapse
-
#initialize(basedn) ⇒ LdapResource
constructor
A new instance of LdapResource.
- #to_s ⇒ Object
Constructor Details
#initialize(basedn) ⇒ LdapResource
Returns a new instance of LdapResource.
10 11 12 |
# File 'lib/infrataster/resources/ldap_resource.rb', line 10 def initialize(basedn) @basedn = basedn end |
Instance Attribute Details
#basedn ⇒ Object (readonly)
Returns the value of attribute basedn.
8 9 10 |
# File 'lib/infrataster/resources/ldap_resource.rb', line 8 def basedn @basedn end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/infrataster/resources/ldap_resource.rb', line 14 def to_s "LDAP: #{@basedn}" end |