instance method
URI::LDAP#build_path_query
() -> ::String
build_path_query
lib/uri/ldap.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/uri/ldap.rb, line 146
def build_path_query
@path = '/' + @dn
query = []
[@extensions, @filter, @scope, @attributes].each do |x|
next if !x && query.size == 0
query.unshift(x)
end
@query = query.join('?')
end
Private method to assemble query from attributes, scope, filter, and extensions.