Business::OnlinePayment::CyberSource::Role::InputHandling - Input handling convenience methods for Business::OnlinePayment::CyberSource
version 3.000011
package Thing; use Moose; with 'Business::OnlinePayment::CyberSource::Role::InputHandling'; sub blah { my ( $self, @args ) = @_; my $data = $self->_parse_input( @args ); $data->{color} = 'red' unless $data->{color}; } 1; my $thing = Thing->new(); $thing->blah( color => 'blue' ); $thing->blah( { color => 'blue' } );
This role provides consumers with convenience methods for handling input.
Converts input into a hashref
Accepts: A hash or reference to a hash Returns: A reference to the supplied hash
Please report any bugs or feature requests on the bugtracker website https://github.com/hostgator/Business-OnlinePayment-CyberSource/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Jad Wauthier <Jadrien dot Wauthier at GMail dot com>
Caleb Cushing <xenoterracide@gmail.com>
Peter Bowen <peter@bowenfamily.org>
This software is copyright (c) 2012 by HostGator.com.
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 Business::OnlinePayment::CyberSource, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::CyberSource
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::CyberSource
For more information on module installation, please visit the detailed CPAN module installation guide.