NAME
Convos::Plugin::Paste::File - Represents a paste
DESCRIPTION
Convos::Plugin::Paste::File is a class used by the EXPERIMENTAL Convos plugin Convos::Plugin::Paste.
ATTRIBUTES
content
$str = $self->content;
Holds the paste.
created_at
$epoch = $self->created_at;
Defaults to "time" in Time::HiRes.
user
$user = $self->user;
A Convos::Core::User object.
METHODS
public_uri
$path = $self->uri;
Returns a Mojo::Path object useful for making a public URL.
uri
$path = $self->uri;
Returns a Mojo::Path object representing the file on disk.