Sha256: 6a51d759943ece95c8f5ea3bf43242b18ee17b190cba69483fec788074226875

Contents?: true

Size: 1.67 KB

Versions: 431

Compression:

Stored size: 1.67 KB

Contents

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

431 entries across 431 versions & 1 rubygems

Version Path
fastlane-2.69.0.beta.20171208010004 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171207010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171206010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.68.2 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171205010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.68.1 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171204010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171203010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171202010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.69.0.beta.20171201010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.68.0 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.68.0.beta.20171130010004 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.68.0.beta.20171129010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0.beta.20171128010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0.beta.20171127010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0.beta.20171126010003 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0.beta.20171125010004 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0.beta.20171124010004 spaceship/lib/spaceship/tunes/recovery_device.rb
fastlane-2.67.0.beta.20171123010003 spaceship/lib/spaceship/tunes/recovery_device.rb