lib/heartcheck/services/firewall.rb in heartcheck-1.4.0 vs lib/heartcheck/services/firewall.rb in heartcheck-1.5.0

- old
+ new

@@ -12,16 +12,16 @@ # @param params [Hash] a hash with the configurations. # @option params [String] :host The domain/Ip # @option params [Integer] :port Number of port to check # @option params [String] :proxy The uri of your proxy if is required # @option params [integer] :timeout (defaults to: 2) Number in seconds - # @option params [string] :uri You can pass a URI instead a host and port + # @option params [string] :url You can pass a URI instead a host and port # # @example # Firewall.new(host: 'domain.com', port: 80) # Firewall.new(host: 'domain.com', port: 80, timeout: 5) - # Firewall.new(uri: 'https://domain.com') - # Firewall.new(uri: 'https://domain.com', proxy: 'http://proxy.domain.com') + # Firewall.new(url: 'https://domain.com') + # Firewall.new(url: 'https://domain.com', proxy: 'http://proxy.domain.com') # # @return [void] def initialize(params) @host = params[:host] @port = params[:port]