Class: ShopifyAPI::Article

Inherits:
Base show all
Includes:
Events, Metafields
Defined in:
lib/shopify_api/resources/article.rb

Instance Method Summary collapse

Methods included from Metafields

#add_metafield, #metafields

Methods included from Events

#events

Methods included from Countable

#count

Methods inherited from ActiveResource::Base

#encode

Instance Method Details

#commentsObject



8
9
10
# File 'lib/shopify_api/resources/article.rb', line 8

def comments
  Comment.find(:all, :params => { :article_id => id })
end