Class: Thredded::AllViewHooks::PostCommon

Inherits:
Object
  • Object
show all
Defined in:
app/view_hooks/thredded/all_view_hooks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePostCommon

Returns a new instance of PostCommon.


64
65
66
67
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 64

def initialize
  @actions = ViewHook.new
  @mark_as_unread = ViewHook.new
end

Instance Attribute Details

#actionsThredded::AllViewHooks::ViewHook (readonly)


60
61
62
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 60

def actions
  @actions
end

#mark_as_unreadThredded::AllViewHooks::ViewHook (readonly)


62
63
64
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 62

def mark_as_unread
  @mark_as_unread
end