UNPKG

@argab/request-service

Version:

Provides a fully customizable Library for handling API using Request repositories and Stubs.

8 lines (6 loc) 218 B
import {RequestRepository} from '../../dist/index.js' export default class extends RequestRepository { getComments() { return this.client.test2().stubData({data: 'STUB COMMENTS'}).get('/comments') } }