Class: Spaceship::Tunes::DeviceType
- Inherits:
-
Object
- Object
- Spaceship::Tunes::DeviceType
- 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
12 13 14 |
# File 'spaceship/lib/spaceship/tunes/device_type.rb', line 12 def self.exists?(type) types.include?(type) end |
.types ⇒ Object
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 |