Method: PortalModule::Command::Config::Del#env

Defined in:
lib/portal_module/command/config.rb

#env(envname) ⇒ Object



154
155
156
157
158
159
160
161
162
# File 'lib/portal_module/command/config.rb', line 154

def env(envname)
  with_loaded_config do
    if PortalModule.configuration.base_urls.key?(envname.to_sym)
      PortalModule.configuration.base_urls.delete(envname.to_sym)
    end
  end

  credentials(envname)
end