Class: SettingsService::Commands::GetEnrollmentSettings
- Inherits:
-
Object
- Object
- SettingsService::Commands::GetEnrollmentSettings
- Defined in:
- app/services/settings_service/commands/get_enrollment_settings.rb
Instance Method Summary collapse
-
#call ⇒ Object
DEPRICATED: Use “GetSettings instead”.
-
#initialize(id:) ⇒ GetEnrollmentSettings
constructor
A new instance of GetEnrollmentSettings.
Constructor Details
#initialize(id:) ⇒ GetEnrollmentSettings
Returns a new instance of GetEnrollmentSettings.
4 5 6 |
# File 'app/services/settings_service/commands/get_enrollment_settings.rb', line 4 def initialize id: @id = id end |
Instance Method Details
#call ⇒ Object
DEPRICATED: Use “GetSettings instead”
9 10 11 12 13 14 |
# File 'app/services/settings_service/commands/get_enrollment_settings.rb', line 9 def call SettingsService::Enrollment.create_table SettingsService::Enrollment.get( id: @id ) end |