class Services::AppConfig::Unseter
Public Class Methods
call(config)
click to toggle source
# File lib/busbar_cli/services/app_config/unseter.rb, line 4 def self.call(config) if AVAILABLE_CONFIGS.include?(config) Services::AppConfig.delete(config) puts "#{config} removed from local config." else puts "#{config} is not a valid config key. The valid keys are:" puts AVAILABLE_CONFIGS.join(' / ') end end