ConfigMan/lib/configman/modules/api.rb
VetheonGames 69b49d899a Major codebase refinement
Add deep_dup as a depend (it'll be removed in the next commit)
Make "EXPECTED_KEYS" a constant in the main module because every parser depends on access to the information through a common interface
Move sorting the hash into sections into a util module we can lazy load
Changed a bunch of things around to depend on the new files, classes, and modules
2023-10-14 00:12:28 -06:00

16 lines
291 B
Ruby

# frozen_string_literal: true
module ConfigMan
module Modules
module API
def self.populate_defaults
{
'api_endpoint' => 'https://api.example.com',
'api_key' => 'your_api_key_here',
'rate_limit' => 1000
}
end
end
end
end