Module: ForemanOpenscap::SmartProxyExtensions

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/foreman_openscap/smart_proxy_extensions.rb

Instance Method Summary collapse

Instance Method Details

#portObject



13
14
15
# File 'app/models/concerns/foreman_openscap/smart_proxy_extensions.rb', line 13

def port
  url.match(PORT_MATCH)[1].to_i
end