Class: Applitools::AppOutput

Inherits:
Object
  • Object
show all
Defined in:
lib/applitools/core/app_output.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title, screenshot64) ⇒ AppOutput

Returns a new instance of AppOutput.



5
6
7
8
# File 'lib/applitools/core/app_output.rb', line 5

def initialize(title, screenshot64)
  @title = title
  @screenshot64 = screenshot64
end

Instance Attribute Details

#screenshot64Object (readonly)

Returns the value of attribute screenshot64.



3
4
5
# File 'lib/applitools/core/app_output.rb', line 3

def screenshot64
  @screenshot64
end

#titleObject (readonly)

Returns the value of attribute title.



3
4
5
# File 'lib/applitools/core/app_output.rb', line 3

def title
  @title
end

Instance Method Details

#to_hashObject



10
11
12
13
14
15
# File 'lib/applitools/core/app_output.rb', line 10

def to_hash
  {
    title: title,
    screenshot64: nil
  }
end