blob: c4ab0b1e07a5716717b672dda5813d60bc328679 (
plain)
1
2
3
4
5
6
7
8
9
10
|
export default class Service {
constructor(resource, endpoint) {
this.resource = resource;
this.endpoint = endpoint;
}
getTitle() {
return this.resource.get(this.endpoint);
}
}
|