Pinto::Meta::Attribute::Trait::Postable - Trait for marking attributes as something to POST
version 0.038
Specify an alternative name for the attribute when posting it. If not specified, the posted attribute name will be the same as the object attribute name.
Specify an alternative subroutine for transforming the attribute value before posting it. If not specified, the posted value will be the same as the attribute value.
Returns an array reference containing the names => values of each Postable attribute of this object. This array reference is suitable for passing to the POST function in HTTP::Request::Common or the post method of LWP::UserAgent.
Postable
POST
post
Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>
This software is copyright (c) 2011 by Imaginative Software Systems.
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 Pinto::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pinto::Common
CPAN shell
perl -MCPAN -e shell install Pinto::Common
For more information on module installation, please visit the detailed CPAN module installation guide.