Class: NotificationSettingDrop

Inherits:
Liquid::Drop
  • Object
show all
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

Instance Attribute Details

#explanationString

Explanation of what this setting applies to

Returns:

  • (String)

#is_blog_postsBoolean

Returns true if this notification setting is for blog posts

Returns:

  • (Boolean)

#labelString

Returns:

  • (String)

#nameString

The HTML name attribute of the input tag that should be used for this notification setting

Returns:

  • (String)

#urlString

The URL of the resource this notification setting is for.

Returns:

  • (String)

#valueString

The current value of this notification setting. One of 'all', 'staff_only', 'none'

Returns:

  • (String)