Name Change
[dbsrgits/DBIx-Class-Schema-RestrictWithObject.git] / lib / DBIx / Class / Schema / RestrictWithObject / RestrictComp / Schema.pm
@@ -1,4 +1,4 @@
-package DBIx::Class::Schema::RestrictByUser::RestrictComp::Schema;
+package DBIx::Class::Schema::RestrictWithObject::RestrictComp::Schema;
 
 use strict;
 use warnings;
@@ -6,31 +6,31 @@ use base qw/DBIx::Class::AccessorGroup/;
 
 =head1 DESCRIPTION
 
-For general usage please see L<DBIx::Class::Schema::RestrictByUser>, the information
+For general usage please see L<DBIx::Class::Schema::RestrictWithObject>, the information
 provided here is not meant for general use and is subject to change. In the interest
 of transparency the functionality presented is documented, but all methods should be
 considered private and, as such, subject to incompatible changes and removal.
 
-=head1 ADDITIONAL ACCESSORS 
+=head1 ADDITIONAL ACCESSORS
 
-=head2 user
+=head2 restricting_object
 
-Store the user object used to restict resultsets
+Store the object used to restict resultsets
 
 =head2 restricted_prefix
 
-Store the prefix, if any, to use when looking for the appropriate resstrict
-methods in the user object
+Store the prefix, if any, to use when looking for the appropriate restrict
+methods in the C<restricting_object>
 
 =cut
 
-__PACKAGE__->mk_group_accessors('simple' => 'user');
+__PACKAGE__->mk_group_accessors('simple' => 'restricting_object');
 __PACKAGE__->mk_group_accessors('simple' => 'restricted_prefix');
 
 1;
 
 =head1 SEE ALSO
 
-L<DBIx::Class::Schema::RestrictByUser>,
+L<DBIx::Class::Schema::RestrictWithObject>,
 
 =cut