Files
compose-projects-arr/stash/config/scrapers/community/rb_common/configs/config_base.rb
Christoph Califice 0a5f88d75a stash
2025-10-10 09:50:30 -03:00

16 lines
298 B
Ruby

# frozen_string_literal: true
class ConfigBase
class << self
def endpoint
return nil unless self::USER_CONFIG[:endpoint]
self::USER_CONFIG[:endpoint]
end
def api_key
return nil unless self::USER_CONFIG[:api_key]
self::USER_CONFIG[:api_key]
end
end
end