2021-09-08 04:07:58 +00:00
|
|
|
/* global axios */
|
2021-08-31 08:24:34 +00:00
|
|
|
import ApiClient from './ApiClient';
|
|
|
|
|
|
|
|
class AttributeAPI extends ApiClient {
|
|
|
|
constructor() {
|
|
|
|
super('custom_attribute_definitions', { accountScoped: true });
|
|
|
|
}
|
2021-09-08 04:07:58 +00:00
|
|
|
|
2021-11-11 09:53:33 +00:00
|
|
|
getAttributesByModel() {
|
|
|
|
return axios.get(this.url);
|
2021-09-08 04:07:58 +00:00
|
|
|
}
|
2021-08-31 08:24:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default new AttributeAPI();
|