Lines 55-63
sub to_api {
Link Here
|
55 |
my ( $self, $params ) = @_; |
55 |
my ( $self, $params ) = @_; |
56 |
|
56 |
|
57 |
my $table_to_resource = { |
57 |
my $table_to_resource = { |
58 |
'aqbasket' => 'basket', |
58 |
'accountlines:credit' => 'credit', |
59 |
'aqinvoices' => 'invoice', |
59 |
'accountlines:debit' => 'debit', |
60 |
'aqorders' => 'order', |
60 |
'aqbasket' => 'basket', |
|
|
61 |
'aqinvoices' => 'invoice', |
62 |
'aqorders' => 'order', |
61 |
}; |
63 |
}; |
62 |
|
64 |
|
63 |
my $json = $self->SUPER::to_api($params); |
65 |
my $json = $self->SUPER::to_api($params); |