Class: Applitools::SessionStartInfo
- Inherits:
-
Object
- Object
- Applitools::SessionStartInfo
- Includes:
- Jsonable
- Defined in:
- lib/applitools/core/session_start_info.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SessionStartInfo
constructor
A new instance of SessionStartInfo.
- #to_hash ⇒ Object
Methods included from Jsonable
Constructor Details
#initialize(options = {}) ⇒ SessionStartInfo
Returns a new instance of SessionStartInfo.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/applitools/core/session_start_info.rb', line 14 def initialize( = {}) self.agent_id = [:agent_id] self.app_id_or_name = [:app_id_or_name] self.ver_id = [:ver_id] self.scenario_id_or_name = [:scenario_id_or_name] self.batch_info = [:batch_info] self.environment_name = [:environment_name] self.baseline_env_name = [:baseline_env_name] self.environment = [:environment] self.default_match_settings = [:default_match_settings] self.branch_name = [:branch_name] self.parent_branch_name = [:parent_branch_name] self.properties = [:properties] self.compare_with_parent_branch = [:compare_with_parent_branch] self.save_diffs = [:save_diffs] self.session_type = [:session_type] self.baseline_branch_name = [:baseline_branch_name] self.agentRunId = [:agent_run_id] if [:agent_run_id] end |
Instance Method Details
#to_hash ⇒ Object
34 35 36 |
# File 'lib/applitools/core/session_start_info.rb', line 34 def to_hash json_data end |