Class: Course::Settings::UsersComponent

Inherits:
Component
  • Object
show all
Includes:
EmailSettingsConcern
Defined in:
app/models/course/settings/users_component.rb

Class Method Summary collapse

Methods included from EmailSettingsConcern

#email_settings, #update_email_setting

Class Method Details

.component_classObject


11
12
13
# File 'app/models/course/settings/users_component.rb', line 11

def self.component_class
  Course::UsersComponent
end

.email_setting_itemsObject


5
6
7
8
9
# File 'app/models/course/settings/users_component.rb', line 5

def self.email_setting_items
  {
    new_enrol_request: { enabled_by_default: true }
  }
end