diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-21 13:33:21 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-21 13:33:21 +0100 |
commit | 0b588dff194f5dbf55ee49e88e0ca396b1bed858 (patch) | |
tree | d41c4cfb64f505658a9b3edb0f9877c6a63102dd /lib/JWebmail/Model/ReadMails | |
parent | 6fe35cbd50d318bed8d12c5d9fc2602f8936f883 (diff) |
Bundle of small changes
Diffstat (limited to 'lib/JWebmail/Model/ReadMails')
-rw-r--r-- | lib/JWebmail/Model/ReadMails/Role.pm | 20 |
1 files changed, 8 insertions, 12 deletions
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', ); |