Class: LdapConverters::Base
- Inherits:
-
Object
- Object
- LdapConverters::Base
- Defined in:
- lib/ldap_converters.rb
Overview
Base class for LDAP value conversions
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) model
readonly
Returns the value of attribute model.
Instance Method Summary (collapse)
-
- (Base) initialize(model)
constructor
A new instance of Base.
-
- (Object) read
Override in a subclass.
-
- (Object) validate(value)
Override in a subclass.
-
- (Object) write(write)
Override in a subclass.
Constructor Details
- (Base) initialize(model)
Returns a new instance of Base
7 8 9 |
# File 'lib/ldap_converters.rb', line 7 def initialize(model) @model = model end |
Instance Attribute Details
- (Object) model (readonly)
Returns the value of attribute model
5 6 7 |
# File 'lib/ldap_converters.rb', line 5 def model @model end |
Instance Method Details
- (Object) read
Override in a subclass
20 21 |
# File 'lib/ldap_converters.rb', line 20 def read() end |
- (Object) validate(value)
Override in a subclass
12 13 |
# File 'lib/ldap_converters.rb', line 12 def validate(value) end |
- (Object) write(write)
Override in a subclass
16 17 |
# File 'lib/ldap_converters.rb', line 16 def write(write) end |