debian-mirror-gitlab/app/assets/javascripts/serverless/services/get_functions_service.js
2019-02-13 22:33:31 +05:30

11 lines
209 B
JavaScript

import axios from '~/lib/utils/axios_utils';
export default class GetFunctionsService {
constructor(endpoint) {
this.endpoint = endpoint;
}
fetchData() {
return axios.get(this.endpoint);
}
}