Catalyst::Controller::DBIC::API::StaticArguments - Provides controller level configuration arguments
version 2.001003
StaticArguments is a Role that is composed by the controller to provide configuration parameters such as how where in the request data to find specific elements, and if to use JSON boolean types.
These attributes control requirements and limits to columns when creating or updating objects.
Each provides a number of handles:
"get_${var}_column" => 'get' "set_${var}_column" => 'set' "delete_${var}_column" => 'delete' "insert_${var}_column" => 'insert' "count_${var}_column" => 'count' "all_${var}_columns" => 'elements'
count_arg controls how to reference 'count' in the the request_data
page_arg controls how to reference 'page' in the the request_data
offset_arg controls how to reference 'offset' in the the request_data
select_arg controls how to reference 'select' in the the request_data
as_arg controls how to reference 'as' in the the request_data
search_arg controls how to reference 'search' in the the request_data
grouped_by_arg controls how to reference 'grouped_by' in the the request_data
ordered_by_arg controls how to reference 'ordered_by' in the the request_data
prefetch_arg controls how to reference 'prefetch' in the the request_data
data_root controls how to reference where the data is in the the request_data
total_entries_arg controls how to reference 'total_entries' in the the request_data
use_json_boolean controls whether JSON::Any boolean types are used in the success parameter of the response or if raw strings are used
return_object controls whether the results of create/update are serialized and returned in the response
Nicholas Perez <nperez@cpan.org> Luke Saunders <luke.saunders@gmail.com> Alexander Hartmaier <abraxxa@cpan.org>
This software is copyright (c) 2010 by Luke Saunders, Nicholas Perez, et al..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Catalyst::Controller::DBIC::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Controller::DBIC::API
CPAN shell
perl -MCPAN -e shell install Catalyst::Controller::DBIC::API
For more information on module installation, please visit the detailed CPAN module installation guide.