atix-internetmarke
Version:
A node wrapper for the Internetmarke web service of the Deutsche Post.
23 lines (18 loc) • 473 B
JavaScript
/**
* internetmarke
* Copyright (c) 2018 Manuel Schächinger
* MIT Lisenced
*/
;
const User = require('../User');
/**
* Creates a new user instance used to voucher transactions.
*
* @param {Object} data - The credentials of the account.
* @param {string} data.username - The username (email address).
* @param {string} data.password - The corresponding password.
*/
function create(data) {
return new User(data);
}
module.exports = { create };