twitter-api-v2-patch
Version:
Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.
19 lines (18 loc) • 504 B
JavaScript
import { API_ADS_SANDBOX_PREFIX } from '../globals';
import TwitterAdsSandboxReadWrite from './client.ads-sandbox.write';
/**
* Twitter ads sandbox client with all rights (read/write)
*/
export class TwitterAdsSandbox extends TwitterAdsSandboxReadWrite {
constructor() {
super(...arguments);
this._prefix = API_ADS_SANDBOX_PREFIX;
}
/**
* Get a client with read/write rights.
*/
get readWrite() {
return this;
}
}
export default TwitterAdsSandbox;