Revision history for Catalyst-Plugin-Authentication-Store-DBIx-Class
+0.102 2008-01-23
+ Catalyst::Authentication::Store::DBIx::Class::User
+ - Explicitly call auto_create() against resultset()
+ - Explicitly call auto_update() against _user()
+ - Document the above
+
0.101 2007-12-02
Implemented basic auto_update_user and auto_create_user support
return $self->get_object;
}
+sub auto_create {
+ my $self = shift;
+ $self->_user( $self->resultset->auto_create( @_ ) );
+ return $self;
+}
+
+sub auto_update {
+ my $self = shift;
+ $self->_user->auto_update( @_ );
+}
+
sub AUTOLOAD {
my $self = shift;
(my $method) = (our $AUTOLOAD =~ /([^:]+)$/);
Synonym for get_object
+=head2 auto_create
+
+This will delegate a call to the C<auto_create()> method of the resultset associated
+with this object. It is up to you to implement that method.
+
+=head2 auto_update
+
+This will delegate a call to the C<auto_create()> method of the current instance of the resultset
+associated with this object. It is up to you to implement that method.
+
=head1 BUGS AND LIMITATIONS
None known currently, please email the author if you find any.