Welcome to mirror list, hosted at ThFree Co, Russian Federation.

job_service.js « services « jobs « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eaf1c6e500a9486117d686ed1137202dc4d7c77a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Vue from 'vue';
import VueResource from 'vue-resource';

Vue.use(VueResource);

export default class JobService {
  constructor(endpoint) {
    this.job = Vue.resource(endpoint);
  }

  getJob() {
    return this.job.get();
  }
}