Class: ShopifyAPI::Blog

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

Instance Method Summary collapse

Methods included from Metafields

#add_metafield, #metafields

Methods included from Events

#events

Methods inherited from Base

activate_session, #as_json, clear_session, #encode, #headers, init_prefix, init_prefix_explicit, #persisted?

Methods included from Countable

#count

Methods inherited from ActiveResource::Base

delete, headers

Instance Method Details

#articlesObject



6
7
8
# File 'lib/shopify_api/resources/blog.rb', line 6

def articles
  Article.find(:all, :params => { :blog_id => id })
end