Class: ActiveLdap::SupportedControl
- Inherits:
-
Object
- Object
- ActiveLdap::SupportedControl
- Defined in:
- lib/active_ldap/supported_control.rb
Instance Method Summary collapse
-
#initialize(controls) ⇒ SupportedControl
constructor
A new instance of SupportedControl.
- #paged_results? ⇒ Boolean
Constructor Details
#initialize(controls) ⇒ SupportedControl
Returns a new instance of SupportedControl
5 6 7 8 |
# File 'lib/active_ldap/supported_control.rb', line 5 def initialize(controls) @controls = controls @paged_results = @controls.include?(LdapControls::PAGED_RESULTS) end |
Instance Method Details
#paged_results? ⇒ Boolean
10 11 12 |
# File 'lib/active_ldap/supported_control.rb', line 10 def paged_results? @paged_results end |