Class: BlogCategoryDrop

Inherits:
Liquid::Simplero::Drop show all
Includes:
NotificationSettingProvidingDropConcern
Defined in:
app/drops/blog_category_drop.rb

Overview

BlogCategoryDrop represents a category for BlogPostDrops. It is available as the top-level blog_category on the product category page or by access through BlogPostDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#active? ⇒ Boolean

Returns:

  • (Boolean)

#blog_posts ⇒ CollectionDrop

Returns all published BlogPostDrops for the blog category.

Returns:

#id ⇒ Integer

Returns:

  • (Integer)

#label ⇒ String

Returns:

  • (String)

#notification_setting ⇒ NotificationSettingDrop

#posts_count ⇒ Integer

Returns:

  • (Integer)

#url ⇒ String

Returns:

  • (String)