Skip to content
Permalink
Browse files

Add the TrackSummary to the results

  • Loading branch information...
briandfoy committed Oct 2, 2018
1 parent 6ca85c2 commit 27c9443cc918d67f19f9a3a594e364a22fc5d16f
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Business/US/USPS/WebTools/TrackConfirm.pm
@@ -256,10 +256,13 @@ sub _parse_response {
#my %hash = ();
#$hash{'TrackSummary'} = $summary->to_string;

my $summary_parsed = $self->_parse_subbits( $summary );

my $array = $details->map(
sub { $self->_parse_subbits( $_ ) }
)->to_array;

unshift @$array, $summary_parsed;
bless $array, ref $self; # 'Hash::AsObject';
}

0 comments on commit 27c9443

Please sign in to comment.
You can’t perform that action at this time.