extensions

extensions() Instance Public methods returns extensions.

dn=

dn=(val) Instance Public methods setter for dn val

dn

dn() Instance Public methods returns dn.

attributes=

attributes=(val) Instance Public methods setter for attributes val

attributes

attributes() Instance Public methods returns attributes.

new

new(*arg) Class Public methods Description Create a new URI::LDAP object from generic URI components as per RFC 2396. No LDAP-specific syntax checking is performed. Arguments are scheme, userinfo, host, port, registry, path, opaque, query and fragment, in that order. Example: uri = URI::LDAP.new("ldap", nil, "ldap.example.com", nil, "/dc=example;dc=com", "query", nil, nil, nil, nil) See also URI::Generic.new

build

build(args) Class Public methods Description Create a new URI::LDAP object from components, with syntax checking. The components accepted are host, port, dn, attributes, scope, filter, and extensions. The components should be provided either as an Array, or as a Hash with keys formed by preceding the component names with a colon. If an Array is used, the components must be passed in the order [host, port, dn, attributes, scope, filter, extensions]. Example: newuri = URI::LDAP.build

request_uri

request_uri() Instance Public methods Description Returns the full path for an HTTP request, as required by Net::HTTP::Get. If the URI contains a query, the full path is URI#path + '?' + URI#query. Otherwise, the path is simply URI#path.

new

new(*arg) Class Public methods Description Create a new URI::HTTP object from generic URI components as per RFC 2396. No HTTP-specific syntax checking (as per RFC 1738) is performed. Arguments are scheme, userinfo, host, port, registry, path, opaque, query and fragment, in that order. Example: uri = URI::HTTP.new('http', nil, "www.example.com", nil, "/path", "query", 'fragment') See also URI::Generic.new

build

build(args) Class Public methods Description Create a new URI::HTTP object from components, with syntax checking. The components accepted are userinfo, host, port, path, query and fragment. The components should be provided either as an Array, or as a Hash with keys formed by preceding the component names with a colon. If an Array is used, the components must be passed in the order [userinfo, host, port, path, query, fragment]. Example: newuri = URI::HTTP.build({:host => 'www.ex