mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
review fix
This commit is contained in:
parent
12ecb5b428
commit
5e2afbdf3b
1 changed files with 2 additions and 13 deletions
|
|
@ -30,16 +30,6 @@ let idKey = Symbol('id filed');
|
|||
extend(this, data);
|
||||
}
|
||||
}
|
||||
export class BrandUsecases extends PlivoResource {
|
||||
constructor(client, data = {}) {
|
||||
super(action, BrandUsecases, idField, client);
|
||||
this[actionKey] = action;
|
||||
this[clientKey] = client;
|
||||
|
||||
extend(this, data);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export class BrandCreationResponse {
|
||||
constructor(params) {
|
||||
|
|
@ -119,12 +109,11 @@ export class BrandCreationResponse {
|
|||
* get BrandUsecases by given id
|
||||
* @method
|
||||
* @param {string} brandID - id of brand
|
||||
* @promise {object} return {@link BrandUsecases} object
|
||||
* @promise {object} return {@link Brand} object
|
||||
* @fail {Error} return Error
|
||||
*/
|
||||
get_usecases(brandId) {
|
||||
let params = {}
|
||||
return super.customexecuteAction(action+brandId+'/usecases/', 'GET', params);
|
||||
return super.customexecuteAction(action+brandId+'/usecases/', 'GET');
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue