Class: Thredded::AllViewHooks::ModerationUserPage

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

#initializeModerationUserPage

Returns a new instance of ModerationUserPage.



102
103
104
105
106
107
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 102

def initialize
  @user_title = ViewHook.new
  @user_info = ViewHook.new
  @user_info_list_items = ViewHook.new
  @user_moderation_actions = ViewHook.new
end

Instance Attribute Details

#user_infoThredded::AllViewHooks::ViewHook (readonly)



96
97
98
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 96

def 
  @user_info
end

#user_info_list_itemsThredded::AllViewHooks::ViewHook (readonly)



98
99
100
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 98

def 
  @user_info_list_items
end

#user_moderation_actionsThredded::AllViewHooks::ViewHook (readonly)



100
101
102
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 100

def user_moderation_actions
  @user_moderation_actions
end

#user_titleThredded::AllViewHooks::ViewHook (readonly)



94
95
96
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 94

def user_title
  @user_title
end