The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Nuvol::Role::Metadata - Role for metadata

SYNOPSIS

$object->description;
$object->id;
$object->metadata;
$object->name;
$object->url;

DESCRIPTION

Nuvol::Role::Metadata is a role to access metadata. It is automatically applied to all Nuvol objects.

METHODS

description

$description = $object->description;

Getter for the human readable description of the object.

id

$id = $object->id;

Getter for the id.

metadata

$metadata = $object->metadata;

Getter for the unstructured metadata.

name

$name = $object->name;

Getter for the name.

url

$url = $object->url;
$url = $object->url($path);

Getter for the URL of the object itself or a path below it. Returns a Mojo::URL.

SEE ALSO

Nuvol::Connector, Nuvol::Drive, Nuvol::Item.