stash
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user