module OpsManagerUiDrivers::Version17::Settings
Public Class Methods
build_browser_command(command, arg)
click to toggle source
# File lib/ops_manager_ui_drivers/version17/settings.rb, line 15 def self.build_browser_command(command, arg) { 'browser_command' => command, 'browser_arg' => arg, } end
for(test_settings)
click to toggle source
# File lib/ops_manager_ui_drivers/version17/settings.rb, line 6 def self.for(test_settings) iaas_type = test_settings.dig('iaas_type') settings_class = [Vcloud, Vsphere, AWS, OpenStack].find do |klass| klass.works_with?(iaas_type) end or fail("Unsupported IaaS: #{iaas_type.inspect}") settings_class.new(test_settings) end