debian-mirror-gitlab/app/assets/javascripts/serverless/services/get_functions_service.js

12 lines
209 B
JavaScript
Raw Normal View History

2018-12-23 12:14:25 +05:30
import axios from '~/lib/utils/axios_utils';
export default class GetFunctionsService {
constructor(endpoint) {
this.endpoint = endpoint;
}
fetchData() {
return axios.get(this.endpoint);
}
}