Class: Applitools::AppOutput
- Inherits:
-
Object
- Object
- Applitools::AppOutput
- Defined in:
- lib/applitools/core/app_output.rb
Instance Attribute Summary collapse
-
#screenshot64 ⇒ Object
readonly
Returns the value of attribute screenshot64.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, screenshot64) ⇒ AppOutput
constructor
A new instance of AppOutput.
- #to_hash ⇒ Object
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
#screenshot64 ⇒ Object (readonly)
Returns the value of attribute screenshot64.
3 4 5 |
# File 'lib/applitools/core/app_output.rb', line 3 def screenshot64 @screenshot64 end |
#title ⇒ Object (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_hash ⇒ Object
10 11 12 13 14 15 |
# File 'lib/applitools/core/app_output.rb', line 10 def to_hash { title: title, screenshot64: nil } end |