Class: Headdesk::Checks::TargetSdkVersion

Inherits:
Object
  • Object
show all
Includes:
Headdesk::Check::APK
Defined in:
lib/headdesk/checks/target_sdk_version.rb

Overview

APKs should all target API 26+

:reek:UncommunicativeModuleName

Instance Method Summary collapse

Methods included from Headdesk::Check::APK

all, included

Instance Method Details

#callObject



14
15
16
# File 'lib/headdesk/checks/target_sdk_version.rb', line 14

def call
  fail_check unless: -> { apk.targets_sdk 28 }
end