class Applitools::StartInfo

Constants

ATTRIBUTES

Public Class Methods

new(agent_id, app_id_or_name, scenario_id_or_name, batch_info, environment, application, match_level, ver_id=nil, branch_name=nil, parent_branch_name=nil) click to toggle source

add a config file with this stuff, and use hash arg

# File lib/eyes_selenium_ruby/eyes/start_info.rb, line 11
def initialize(agent_id, app_id_or_name, scenario_id_or_name, batch_info, environment,
               application, match_level, ver_id=nil, branch_name=nil, 
               parent_branch_name=nil)
  @agent_id = agent_id
  @app_id_or_name = app_id_or_name
  @ver_id = ver_id
  @scenario_id_or_name = scenario_id_or_name
  @batch_info = batch_info
  @environment = environment
  @application = application
  @match_level = match_level
  @branch_name = branch_name
  @parent_branch_name = parent_branch_name
end

Public Instance Methods

to_hash() click to toggle source
# File lib/eyes_selenium_ruby/eyes/start_info.rb, line 26
def to_hash
  {  
    AgentId: agent_id, AppIdOrName: app_id_or_name, VerId: ver_id, ScenarioIdOrName: scenario_id_or_name,
    BatchInfo: batch_info.to_hash, Environment: environment.to_hash, 
    Application: application.to_hash, matchLevel: match_level, branchName: branch_name,
    parentBranchName: parent_branch_name
  }
end