X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=lib%2FCatalyst%2FController%2FDBIC%2FAPI%2FStaticArguments.pm;h=063b75feb38273ec0194f41ea19bb72c59204cfc;hp=862dc2148958e78f6f6134de935c25d50e360ae6;hb=73517f507669cada16503d144607e42c86b65f64;hpb=d273984026646e5b57c052deef3fcb9121122060 diff --git a/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm b/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm index 862dc21..063b75f 100644 --- a/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm +++ b/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm @@ -66,6 +66,14 @@ page_arg controls how to reference 'page' in the the request_data has 'page_arg' => ( is => 'ro', isa => Str, default => 'list_page' ); +=attribute_public offset_arg is: ro, isa: Str, default: 'offset' + +offset_arg controls how to reference 'offset' in the the request_data + +=cut + +has 'offset_arg' => ( is => 'ro', isa => Str, default => 'list_offset' ); + =attribute_public select_arg is: ro, isa: Str, default: 'list_returns' select_arg controls how to reference 'select' in the the request_data @@ -114,7 +122,7 @@ prefetch_arg controls how to reference 'prefetch' in the the request_data has 'prefetch_arg' => ( is => 'ro', isa => Str, default => 'list_prefetch' ); -=attribute_public data_root is: ro, isa: Str, default: 'listt' +=attribute_public data_root is: ro, isa: Str, default: 'list' data_root controls how to reference where the data is in the the request_data