UNPKG

availity-ekko

Version:

Mock server simulating Availity API rest services

20 lines (14 loc) 290 B
'use strict'; const _ = require('lodash'); class Request { constructor() { this.params = null; this.headers = null; this.responses = []; this.id = _.uniqueId('request'); } addResponse(response) { this.responses.push(response); } } module.exports = Request;