Class: Spaceship::Tunes::DeviceType

Inherits:
Object
  • Object
show all
Defined in:
spaceship/lib/spaceship/tunes/device_type.rb

Overview

identifiers of devices that App Store Connect accepts screenshots for

Class Method Summary collapse

Class Method Details

.exists?(type) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'spaceship/lib/spaceship/tunes/device_type.rb', line 12

def self.exists?(type)
  types.include?(type)
end

.typesObject



7
8
9
10
# File 'spaceship/lib/spaceship/tunes/device_type.rb', line 7

def self.types
  warn("Spaceship::Tunes::DeviceType has been deprecated, use Spaceship::Tunes::DisplayFamily instead. (https://github.com/fastlane/fastlane/pull/14574).")
  return DisplayFamily.all.map(&:name)
end