2020-04-14 18:39:47 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class ApplicationSettings < Settings
|
2023-08-01 16:44:27 +08:00
|
|
|
def load_values_from_env
|
|
|
|
ENV.select { |name, _| name =~ /^APP_STTG_[A-Z0-9_]*/ }.transform_keys(&:downcase)
|
|
|
|
end
|
2020-04-14 18:39:47 +08:00
|
|
|
end
|