Class: Appium::Core::Base::DriverSettings Private
- Inherits:
-
Object
- Object
- Appium::Core::Base::DriverSettings
- Defined in:
- lib/appium_lib_core/common/base/driver_settings.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#get ⇒ Object
private
Get appium Settings for current test session.
-
#initialize(bridge) ⇒ DriverSettings
constructor
private
A new instance of DriverSettings.
-
#update(settings) ⇒ Object
private
Update Appium Settings for current test session.
Constructor Details
#initialize(bridge) ⇒ DriverSettings
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of DriverSettings.
23 24 25 |
# File 'lib/appium_lib_core/common/base/driver_settings.rb', line 23 def initialize(bridge) @bridge = bridge end |
Instance Method Details
#get ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get appium Settings for current test session.
33 34 35 |
# File 'lib/appium_lib_core/common/base/driver_settings.rb', line 33 def get @bridge.get_settings end |
#update(settings) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Update Appium Settings for current test session
45 46 47 |
# File 'lib/appium_lib_core/common/base/driver_settings.rb', line 45 def update(settings) @bridge.update_settings(settings) end |