Class: NotificationSettingDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- NotificationSettingDrop
- Defined in:
- app/drops/notification_setting_drop.rb
Overview
Represents a notification setting for member on a particular resource like a site blog.
Instance Attribute Summary collapse
-
#explanation ⇒ String
Explanation of what this setting applies to.
-
#is_blog_posts ⇒ Boolean
Returns true if this notification setting is for blog posts.
- #label ⇒ String
-
#name ⇒ String
The HTML
name
attribute of the input tag that should be used for this notification setting. -
#url ⇒ String
The URL of the resource this notification setting is for.
-
#value ⇒ String
The current value of this notification setting.
Instance Attribute Details
#explanation ⇒ String
Explanation of what this setting applies to
#is_blog_posts ⇒ Boolean
Returns true if this notification setting is for blog posts
#label ⇒ String
#name ⇒ String
The HTML name
attribute of the input tag that should be used for this notification setting
#url ⇒ String
The URL of the resource this notification setting is for.
#value ⇒ String
The current value of this notification setting. One of 'all', 'staff_only', 'none'