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