module AD
Constants
- CONFIG_ATTRS
- DEFAULT_HOST
- DEFAULT_PORT
- DEFAULT_UNIQUE_ID_ATTR
- VERSION
Public Class Methods
configure() { |self| ... }
click to toggle source
# File lib/ad.rb, line 23 def configure yield self end
reset!()
click to toggle source
# File lib/ad.rb, line 27 def reset! CONFIG_ATTRS.each do |attr| send("#{attr}=", nil) end self.host = DEFAULT_HOST self.port = DEFAULT_PORT self.unique_id_attr = DEFAULT_UNIQUE_ID_ATTR true end