Class: PulpProxy::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_proxy_pulp_plugin/settings.rb

Class Method Summary collapse

Class Method Details

.settingsObject



7
8
9
10
# File 'lib/smart_proxy_pulp_plugin/settings.rb', line 7

def self.settings 
  # work around until pulp node settings are no longer needed by foreman proxy, as pulp nodes have been removed
  ::PulpProxy::Plugin.settings.pulp_url ? ::PulpProxy::Plugin.settings : ::PulpNodeProxy::Plugin.settings
end