
Since we use repository.settings as a kind of dump for all sorts of settings, some user-facing and some not, this lets us leave the db as it is, but pretend to have separate models for each "kind" of setting.
6 lines
135 B
Ruby
6 lines
135 B
Ruby
module Travis::API::V3
|
|
class Models::AdminSettings < Travis::Settings::Model
|
|
attribute :api_builds_rate_limit, Integer
|
|
end
|
|
end
|