summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/environments/services/environments_service.js
blob: effc6c4c83856e3313d40a128908996bbb139f4e (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);
  }

  get() {
    return this.environments.get();
  }
}

module.exports = EnvironmentsService;