class Object
Public Instance Methods
actual_config()
click to toggle source
# File lib/prof/matchers/tile_configuration.rb, line 40 def actual_config @actual_config ||= ops_manager.tile_configuration(@tile) end
actual_field_names()
click to toggle source
# File lib/prof/matchers/tile_configuration.rb, line 44 def actual_field_names actual_config.map { |_header, fields| fields.keys }.flatten end
expected_field_names()
click to toggle source
# File lib/prof/matchers/tile_configuration.rb, line 34 def expected_field_names raise 'Please set including' if @expected_field_names.nil? @expected_field_names end
ssl_check_url(url)
click to toggle source
# File lib/prof/matchers/ssl.rb, line 64 def ssl_check_url(url) Prof::SSL::Check.new(url, @proxy).results end
ssl_results(url)
click to toggle source
# File lib/prof/matchers/ssl.rb, line 53 def ssl_results(url) if ssh_gateway uri = URI.parse(url) ssh_gateway.with_port_forwarded_to(uri.host, uri.port) do |forwarded_port| ssl_check_url("https://localhost:#{forwarded_port}") end else ssl_check_url(url) end end