LDAP URI SCHEMA
(described in RFC2255) ldap://
# File uri/ldap.rb, line 41 def self.build(args) tmp = Util::make_components_hash(self, args) if tmp[:dn] tmp[:path] = tmp[:dn] end query = [] [:extensions, :filter, :scope, :attributes].collect do |x| next if !tmp[x] && query.size == 0 query.unshift(tmp[x]) end tmp[:query] = query.join('?') return super(tmp) end
# File uri/ldap.rb, line 131 def attributes=(val) set_attributes(val) val end
# File uri/ldap.rb, line 179 def extensions=(val) set_extensions(val) val end
# File uri/ldap.rb, line 124 def set_attributes(val) @attributes = val build_path_query @attributes end
# File uri/ldap.rb, line 108 def set_dn(val) @dn = val build_path_query @dn end
# File uri/ldap.rb, line 172 def set_extensions(val) @extensions = val build_path_query @extensions end
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.