summaryrefslogtreecommitdiffstats
path: root/lib/WWW/Pinboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WWW/Pinboard.pm')
-rw-r--r--lib/WWW/Pinboard.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/WWW/Pinboard.pm b/lib/WWW/Pinboard.pm
index 39e1c63..edcbb9c 100644
--- a/lib/WWW/Pinboard.pm
+++ b/lib/WWW/Pinboard.pm
@@ -6,8 +6,9 @@ use JSON::PP;
use URI;
has token => (
- is => 'ro',
- isa => 'Str',
+ is => 'ro',
+ isa => 'Str',
+ required => 1,
);
has _endpoint => (