joyent-portal/cloudapi-graphql/src/api/nics.js
Tom Gallacher e71fc374bc triton-graphql -> Joyent cloudapi-graphql (#22)
This brings the name of the application inline with the terminology in
the Joyent triton / cloud api documentation.
2016-10-14 12:51:09 +01:00

10 lines
171 B
JavaScript

const request = require('./request');
module.exports.list = () => {
return request('listNics');
};
module.exports.get = (ctx) => {
return request('getNic', ctx);
};