projects
/
Business-BatchPayment.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix warning about Action: Passing a list of values to enum is deprecated. Enum values...
[Business-BatchPayment.git]
/
BatchPayment
/
Item.pm
diff --git
a/BatchPayment/Item.pm
b/BatchPayment/Item.pm
index
d9a3ec7
..
ac11dae
100644
(file)
--- a/
BatchPayment/Item.pm
+++ b/
BatchPayment/Item.pm
@@
-31,7
+31,7
@@
Item TO the account identified by the Processor object's login settings."
=cut
-enum 'Action' =>
qw(payment credit)
;
+enum 'Action' =>
[qw(payment credit)]
;
coerce 'Action', from 'Str', via { lc $_ };
has action => (
is => 'rw',