Class: Shopify::Article

Inherits:
ShopifyModel show all
Defined in:
lib/shopify.rb

Overview

Add some extra touches to a couple of the models

Instance Attribute Summary

Attributes inherited from ShopifyModel

#shop

Instance Method Summary collapse

Methods inherited from ShopifyModel

children_of, #initialize, #inspect, instantiate, is_child?, load_api_classes, top_level

Constructor Details

This class inherits a constructor from Shopify::ShopifyModel

Instance Method Details

#comments(query_params = {}) ⇒ Object



169
170
171
# File 'lib/shopify.rb', line 169

def comments(query_params={})
  shop.comments(query_params.merge(:article_id => id, :blog_id => blog_id))
end