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=e2c2c902dca63c2d623ce64b10bdf966edc2a32e;hp=71e873066ff9a90b6821cd542b9af4af6028cc4d;hb=0b0bf9111127c9fdad1e456169ec4cdd15b160f9;hpb=406086f3da2f020cf98b01d994ffe2d1b8a478c4 diff --git a/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm b/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm index 71e8730..e2c2c90 100644 --- a/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm +++ b/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm @@ -122,6 +122,14 @@ prefetch_arg controls how to reference 'prefetch' in the the request_data has 'prefetch_arg' => ( is => 'ro', isa => Str, default => 'list_prefetch' ); +=attribute_public stash_key is: ro, isa: Str, default: 'response' + +stash_key controls where in stash request_data should be stored + +=cut + +has 'stash_key' => ( is => 'ro', isa => Str, default => 'response'); + =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 @@ -149,7 +157,7 @@ has 'total_entries_arg' => ( is => 'ro', isa => Str, default => 'totalcount' ); =attribute_public use_json_boolean is: ro, isa: Bool, default: 0 -use_json_boolean controls whether JSON::Any boolean types are used in the success parameter of the response or if raw strings are used +use_json_boolean controls whether JSON boolean types are used in the success parameter of the response or if raw strings are used =cut