Class: Appium::Core::Base::Device::ExecuteDriver::Result
- Inherits:
-
Object
- Object
- Appium::Core::Base::Device::ExecuteDriver::Result
- Defined in:
- lib/appium_lib_core/common/device/execute_driver.rb
Instance Attribute Summary collapse
-
#logs ⇒ Object
readonly
Returns the value of attribute logs.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(response) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(response) ⇒ Result
Returns a new instance of Result.
23 24 25 26 |
# File 'lib/appium_lib_core/common/device/execute_driver.rb', line 23 def initialize(response) @result = response['result'] @logs = response['logs'] end |
Instance Attribute Details
#logs ⇒ Object (readonly)
Returns the value of attribute logs.
21 22 23 |
# File 'lib/appium_lib_core/common/device/execute_driver.rb', line 21 def logs @logs end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
21 22 23 |
# File 'lib/appium_lib_core/common/device/execute_driver.rb', line 21 def result @result end |