shopify-api-node
Version:
Shopify API bindings for Node.js
24 lines (17 loc) • 403 B
JavaScript
;
const assign = require('lodash/assign');
const base = require('../mixins/base');
/**
* Creates a Redirect instance.
*
* @param {Shopify} shopify Reference to the Shopify instance
* @constructor
* @public
*/
function Redirect(shopify) {
this.shopify = shopify;
this.name = 'redirects';
this.key = 'redirect';
}
assign(Redirect.prototype, base);
module.exports = Redirect;