node-ebics-client/lib/middleware/response.js
2018-06-15 09:33:41 +03:00

12 lines
245 B
JavaScript

'use strict';
const H004Response = require('../orders/H004/response');
module.exports = {
version(v) {
if (v.toUpperCase() === 'H004') return H004Response;
throw Error('Error from middleware/response.js: Invalid version number');
},
};