Sha256: 0919cf385b318c1d50d2a41a2e66161074c42e60c30ff579415bd78feb549bba

Contents?: true

Size: 1.7 KB

Versions: 233

Compression:

Stored size: 1.7 KB

Contents

require_relative 'tunes_base'

module Spaceship
  module Tunes
    class RecoveryDevice < TunesBase
      # @return (String) ID provided by Apple
      # @example
      #   "1801231651"
      attr_accessor :device_id

      # @return (String) The name of the device
      # @example
      #   "Felix Krause's iPhone 6"
      attr_accessor :name

      # @return (Bool) This device looks suspicious [add emoji here]
      #   this will probably always be true, otherwise the device
      #   doesn't show up
      # @example
      #   true
      attr_accessor :trusted

      # @return (Bool)
      # @example
      #   true
      attr_accessor :status

      # @return (String) Remote URL to an image representing this device
      #   This shows the attention to detail by Apple <3
      # @example
      #   "https://appleid.cdn-apple.com/static/deviceImages-5.0/iPhone/iPhone8,1-e4e7e8-dadcdb/online-sourcelist__3x.png"
      # @example
      #   "https://appleid.cdn-apple.com/appleauth/static/bin/cb2613252489/images/sms@3x.png"
      attr_accessor :device_image

      # @return (String)
      # @example
      #   "iPad Air"
      # @example
      #   nil # e.g. when it's a phone number
      attr_accessor :model_name

      # @return (String)
      # @example
      #   "79"
      attr_accessor :last_two_digits

      # @return (Number)
      # @example
      #   1446488271926
      attr_accessor :update_date

      attr_mapping(
        'id' => :device_id,
        'name' => :name,
        'trusted' => :trusted,
        'status' => :status,
        'imageLocation3x' => :device_image,
        'modelName' => :model_name,
        'lastTwoDigits' => :last_two_digits,
        'updateDate' => :update_date
      )
    end
  end
end

Version data entries

233 entries across 233 versions & 1 rubygems

Version Path
fastlane-2.115.0.beta.20190119200019 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.115.0.beta.20190118200015 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.115.0.beta.20190117200016 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190116200018 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190115200110 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190114200053 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190113200019 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190112200032 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190111200053 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190110200051 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190109200053 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.114.0.beta.20190108200048 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0.beta.20190107200010 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0.beta.20190106200016 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0.beta.20190105200036 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0.beta.20190104200013 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0.beta.20190103200013 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.113.0.beta.20190102200016 spaceship/lib/spaceship/tunes/recovery_device.rb