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