Exemple #1
0
 def _jsonify_settings(self):
     return SettingsSchema().jsonify(rb_settings.get_all())
Exemple #2
0
 def _process(self):
     return SettingsSchema(only=[
         'notification_before_days', 'notification_before_days_weekly',
         'notification_before_days_monthly', 'end_notification_daily',
         'end_notification_weekly', 'end_notification_monthly'
     ]).jsonify(rb_settings.get_all())