Class: Appium::Core::Base::Device::ExecuteDriver::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/appium_lib_core/common/device/execute_driver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#logsObject (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

#resultObject (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