Method: Appium::Core::Device.add_endpoint_method

Defined in:
lib/appium_lib_core/device.rb

.add_endpoint_method(method, &block) ⇒ Object

Define method in Bridges



49
50
51
52
53
54
# File 'lib/appium_lib_core/device.rb', line 49

def add_endpoint_method(method, &block)
  block_given? ? create_bridge_command(method, &block) : create_bridge_command(method)

  delegate_driver_method method
  delegate_from_appium_driver method
end