Class: Spaceship::Tunes::RecoveryDevice
- Defined in:
- spaceship/lib/spaceship/tunes/recovery_device.rb
Instance Attribute Summary collapse
-
#device_id ⇒ String
ID provided by Apple.
-
#device_image ⇒ String
Remote URL to an image representing this device This shows the attention to detail by Apple <3.
- #last_two_digits ⇒ String
- #model_name ⇒ String
-
#name ⇒ String
The name of the device.
- #status ⇒ Bool
-
#trusted ⇒ Bool
This device looks suspicious [add emoji here] this will probably always be true, otherwise the device doesn’t show up.
- #update_date ⇒ Number
Attributes inherited from Base
Method Summary
Methods inherited from TunesBase
Methods inherited from Base
attr_accessor, attr_mapping, attributes, #attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s
Constructor Details
This class inherits a constructor from Spaceship::Base
Instance Attribute Details
#device_id ⇒ String
Returns ID provided by Apple.
9 10 11 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 9 def device_id @device_id end |
#device_image ⇒ String
Returns Remote URL to an image representing this device This shows the attention to detail by Apple <3.
34 35 36 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 34 def device_image @device_image end |
#last_two_digits ⇒ String
46 47 48 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 46 def last_two_digits @last_two_digits end |
#model_name ⇒ String
41 42 43 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 41 def model_name @model_name end |
#name ⇒ String
Returns The name of the device.
14 15 16 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 14 def name @name end |
#status ⇒ Bool
26 27 28 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 26 def status @status end |
#trusted ⇒ Bool
Returns This device looks suspicious [add emoji here] this will probably always be true, otherwise the device doesn’t show up.
21 22 23 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 21 def trusted @trusted end |
#update_date ⇒ Number
51 52 53 |
# File 'spaceship/lib/spaceship/tunes/recovery_device.rb', line 51 def update_date @update_date end |