mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-10 08:01:20 +00:00
* add dataProtection service to library * add missing import * fix mock class for unit test
14 lines
423 B
TypeScript
14 lines
423 B
TypeScript
import Client from "../../client";
|
|
import Service from "../../service";
|
|
import Resource from "../resource";
|
|
|
|
class DataProtectionResource extends Resource {
|
|
public constructor(service: Service, endpoint: string) {
|
|
super(
|
|
service,
|
|
`${service.client.config.dataProtectionEndpoint}/${Client.DATA_PROTECTION_API_VERSION}${endpoint}`
|
|
);
|
|
}
|
|
}
|
|
|
|
export default DataProtectionResource; |