Checking in changes prior to tagging of version 0.09_02. Changelog diff is:
[catagits/Web-Session.git] / lib / Plack / Session / Store.pm
index 9753671..fc9677d 100644 (file)
@@ -2,7 +2,7 @@ package Plack::Session::Store;
 use strict;
 use warnings;
 
-our $VERSION   = '0.03';
+our $VERSION   = '0.09_02';
 our $AUTHORITY = 'cpan:STEVAN';
 
 use Plack::Util::Accessor qw[ _stash ];
@@ -23,7 +23,7 @@ sub store {
     $self->_stash->{ $session_id } = $session;
 }
 
-sub cleanup {
+sub remove {
     my ($self, $session_id) = @_;
     delete $self->_stash->{ $session_id }
 }
@@ -92,7 +92,7 @@ store or delete multiple keys at a time.
 
 =over 4
 
-=item B<cleanup ( $session_id )>
+=item B<remove ( $session_id )>
 
 This method is called by the L<Plack::Session> C<expire> method and
 is used to remove any session data.