Method: Heartcheck::Services::Firewall#port

Defined in:
lib/heartcheck/services/firewall.rb

#portIntegre

to get the port or stract from @uri

Returns:

  • (Integre)

    the port that is configured



57
58
59
# File 'lib/heartcheck/services/firewall.rb', line 57

def port
  @port || uri.port
end