Sha256: cb4c7354128e761ff69c4fc6648389d5c4376a07adf3243d68d1db67a61d75cc

Contents?: true

Size: 696 Bytes

Versions: 18

Compression:

Stored size: 696 Bytes

Contents

module Appium
  module Core
    module Android
      module Device
        module Authentication
          def self.add_methods
            ::Appium::Core::Device.add_endpoint_method(:finger_print) do
              def finger_print(finger_id)
                unless (1..10).cover? finger_id.to_i
                  raise ArgumentError, "finger_id should be integer between 1 to 10. Not #{finger_id}"
                end

                execute(:finger_print, {}, { fingerprintId: finger_id.to_i })
              end
            end
          end # def self.emulator_commands
        end # module Emulator
      end # module Device
    end # module Android
  end # module Core
end # module Appium

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
appium_lib_core-3.0.2 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-3.0.1 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-3.0.0 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.3.4 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.3.3 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.3.2 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.3.1 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.3.0 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.2.2 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.2.1 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.2.0 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.1.1 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.1.0 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.0.6 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.0.5 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.0.4 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.0.3 lib/appium_lib_core/android/device/auth_finger_print.rb
appium_lib_core-2.0.2 lib/appium_lib_core/android/device/auth_finger_print.rb