RT 4.4.0 Documentation

RT::URI::fsck com rt

Go to latest version →

LocalURIPrefix

Returns the prefix for a local URI.

ObjectType

URIForObject RT::Record

Returns the RT URI for a local RT::Record object

ParseURI URI

When handed an fsck.com-rt: URI, figures out things like whether its a local record and what its ID is

IsLocal

Returns true if this URI is for a local ticket. Returns undef otherwise.

Object

Returns the object for this URI, if it's local. Otherwise returns undef.

Scheme

Return the URI scheme for RT records

HREF

If this is a local ticket, return an HTTP url to it. Otherwise, return its URI

AsString

Returns either a localized string #23: Subject for tickets, ObjectType #13: Name for other object types (not really used), or the full URI if the object is not local.

← Back to index