RT 6.0.0 Documentation

RT::ObjectContent

Go to latest version →

NAME

RT::ObjectContent

SYNOPSIS

  use RT::ObjectContent

DESCRIPTION

ObjectContent is an object where you can store content.

NAME

RT::ObjectContent

METHODS

Create PARAMHASH

Create takes a hash of values and creates a row in the database. Available keys are:

Content

If you provide a reference, we will automatically serialize the data structure using JSON. Otherwise any string is passed through as-is.

Returns a tuple of (status, msg) on failure and (id, msg) on success.

← Back to index