The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Simplenote::Note - represents an individual note

VERSION

version 0.2.2

SYNOPSIS

  use WebService::Simplenote::Note;

  my $note = WebService::Simplenote::Note->new(
      content => "Some stuff",
  );

  printf "[%s] %s\n %s\n",
      $note->modifydate->iso8601,
      $note->title,
      $note->content;
  }

DESCRIPTION

This class represents a note suitable for use with Simplenote. You should read the Simplenote API docs for full details

METHODS

WebService::Simplenote::Note->new($args)

The minimum required attribute to set is content.

add_tag($str)

Push a new tag onto tags.

set_markdown

Shortcut to set the markdown system tag.

set_pinned

Shortcut to set the pinned system tag.

ATTRIBUTES

logger

Log::Any logger

key

Server-set unique id for the note.

title

Simplenote doens't use titles, so we autogenerate one from the first line of content.

deleted

Boolean; is this note in the trash?

createdate/modifydate

Datetime objects

tags

Arrayref[Str]; user-generated tags.

systemtags

Arrayref[Str]; special tags.

content

The body of the note

AUTHORS

  • Ioan Rogers <ioanr@cpan.org>

  • Fletcher T. Penney <owner@fletcherpenney.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2021 by Ioan Rogers.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991

BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the web interface at https://github.com/ioanrogers/WebService-Simplenote/issues.

SOURCE

The development version is on github at https://github.com/ioanrogers/WebService-Simplenote and may be cloned from git://github.com/ioanrogers/WebService-Simplenote.git

1 POD Error

The following errors were encountered while parsing the POD:

Around line 265:

You forgot a '=back' before '=head1'