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.
55 56 57 58 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 55 def initialize @actions = ViewHook.new @mark_as_unread = ViewHook.new end |
Instance Attribute Details
#actions ⇒ Thredded::AllViewHooks::ViewHook (readonly)
51 52 53 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 51 def actions @actions end |
#mark_as_unread ⇒ Thredded::AllViewHooks::ViewHook (readonly)
53 54 55 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 53 def mark_as_unread @mark_as_unread end |