From 0b588dff194f5dbf55ee49e88e0ca396b1bed858 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 21 Mar 2023 13:33:21 +0100 Subject: Bundle of small changes --- lib/JWebmail/Model/ReadMails/Role.pm | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'lib/JWebmail/Model/ReadMails') diff --git a/lib/JWebmail/Model/ReadMails/Role.pm b/lib/JWebmail/Model/ReadMails/Role.pm index ae113de..f094190 100644 --- a/lib/JWebmail/Model/ReadMails/Role.pm +++ b/lib/JWebmail/Model/ReadMails/Role.pm @@ -32,20 +32,16 @@ sub Auth { } my @methods = ( - # name:type parmeter of type - # *key key => value - # key=value default argument of value - # ^ throws exception - # ^type throws exception of type + # Conduct the README for specification # Read operations - 'count', # auth:Auth, folder -> ^ size:int count:int new:int - 'folders', # auth:Auth -> ^ :arrayref - 'verify_user', # auth:Auth -> :truthy + 'count', + 'folders', + 'verify_user', # Write operations - 'move', # auth:Auth, mid, folder -> ^ 1 - 'read_headers_for', # auth:Auth, *folder='', *start=0, *end=24, *sort='date' -> ^ :hashref - 'search', # auth:Auth, pattern, folder -> ^ :hashref - 'show', # auth:Auth, mid -> ^ :hashref + 'move', + 'read_headers_for', + 'search', + 'show', 'raw', ); -- cgit v1.2.3