class Spaceship::Tunes::RecoveryDevice
Attributes
device_id[RW]
@return (String
) ID provided by Apple @example
"1801231651"
device_image[RW]
@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"
last_two_digits[RW]
@return (String
) @example
"79"
model_name[RW]
name[RW]
@return (String
) The name of the device @example
"Felix Krause's iPhone 6"
status[RW]
@return (Bool) @example
true
trusted[RW]
@return (Bool) This device looks suspicious [add emoji here]
this will probably always be true, otherwise the device doesn't show up
@example
true
update_date[RW]
@return (Number) @example
1446488271926
Public Class Methods
factory(attrs)
click to toggle source
# File lib/spaceship/tunes/recovery_device.rb, line 63 def factory(attrs) return self.new(attrs) end