Sha256: 9964deb5b246c8517e81c77f4e06fdbbae3a1f462a9c7b4ffeff7c2f7696f6ae

Contents?: true

Size: 310 Bytes

Versions: 11

Compression:

Stored size: 310 Bytes

Contents

module Spaceship
  module Tunes
    class DeviceType
      @types = ['iphone4', 'iphone35', 'iphone6', 'iphone6Plus', 'ipad', 'ipadPro', 'watch', 'appleTV', 'mac']
      class << self
        attr_accessor :types

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spaceship-0.18.1 lib/spaceship/tunes/device_type.rb
spaceship-0.18.0 lib/spaceship/tunes/device_type.rb
spaceship-0.17.0 lib/spaceship/tunes/device_type.rb
spaceship-0.16.0 lib/spaceship/tunes/device_type.rb
spaceship-0.15.2 lib/spaceship/tunes/device_type.rb
spaceship-0.15.1 lib/spaceship/tunes/device_type.rb
spaceship-0.15.0 lib/spaceship/tunes/device_type.rb
spaceship-0.14.2 lib/spaceship/tunes/device_type.rb
spaceship-0.14.1 lib/spaceship/tunes/device_type.rb
spaceship-0.14.0 lib/spaceship/tunes/device_type.rb
spaceship-0.13.1 lib/spaceship/tunes/device_type.rb