File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,11 +105,11 @@ sub send {
105
105
return from_json($r -> decoded_content);
106
106
}
107
107
108
- =head2 _prepare_content($msg ) : \@content
108
+ =head2 _prepare_content($option__values ) : \@content
109
109
110
- Given a $msg hashref, transform it to an arrayref suitable for sending
111
- as multipart/form-data. The core logic here is that array references are
112
- modified from:
110
+ Given a $option__values hashref, transform it to an arrayref suitable for
111
+ sending as multipart/form-data. The core logic here is that array references
112
+ are modified from:
113
113
114
114
option => [ value1, value2, ... ]
115
115
120
120
=cut
121
121
122
122
sub _prepare_content {
123
- my ($msg ) = @_ ;
123
+ my ($option__values ) = @_ ;
124
124
125
125
my $content = [];
126
126
my $option__count = {};
127
127
128
- while (my ($option , $value ) = each %$msg ) {
128
+ while (my ($option , $value ) = each %$option__values ) {
129
129
$option = $OPTION__ALIAS -> {$option } || $option ;
130
130
my $values = ref $value ? $value : [$value ];
131
131
You can’t perform that action at this time.
0 commit comments