Class: Thredded::AllViewHooks::PostCommon
- Inherits:
-
Object
- Object
- Thredded::AllViewHooks::PostCommon
- Defined in:
- app/view_hooks/thredded/all_view_hooks.rb
Instance Attribute Summary collapse
- #actions ⇒ Thredded::AllViewHooks::ViewHook readonly
- #mark_as_unread ⇒ Thredded::AllViewHooks::ViewHook readonly
Instance Method Summary collapse
-
#initialize ⇒ PostCommon
constructor
A new instance of PostCommon.
Constructor Details
#initialize ⇒ PostCommon
Returns a new instance of PostCommon.
58 59 60 61 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 58 def initialize @actions = ViewHook.new @mark_as_unread = ViewHook.new end |
Instance Attribute Details
#actions ⇒ Thredded::AllViewHooks::ViewHook (readonly)
54 55 56 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 54 def actions @actions end |
#mark_as_unread ⇒ Thredded::AllViewHooks::ViewHook (readonly)
56 57 58 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 56 def mark_as_unread @mark_as_unread end |