blob: 9cef335868ecc5f75b047997ae0cfa08a7b55f94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
const Vue = require('vue');
class EnvironmentsService {
constructor(endpoint) {
this.environments = Vue.resource(endpoint);
}
all() {
return this.environments.get();
}
}
module.exports = EnvironmentsService;
|