|
Lines 740-750
sub to_api {
Link Here
|
| 740 |
my $response = $self->SUPER::to_api( $args ); |
740 |
my $response = $self->SUPER::to_api( $args ); |
| 741 |
my $biblioitem = $self->biblioitem->to_api( $args ); |
741 |
my $biblioitem = $self->biblioitem->to_api( $args ); |
| 742 |
|
742 |
|
| 743 |
foreach my $key ( keys %{ $biblioitem } ) { |
743 |
return { %$response, %$biblioitem }; |
| 744 |
$response->{$key} = $biblioitem->{$key}; |
|
|
| 745 |
} |
| 746 |
|
| 747 |
return $response; |
| 748 |
} |
744 |
} |
| 749 |
|
745 |
|
| 750 |
=head3 to_api_mapping |
746 |
=head3 to_api_mapping |
| 751 |
- |
|
|