Class: Cupertino::ProvisioningPortal::Device

Inherits:
Struct
  • Object
show all
Defined in:
lib/cupertino_compatibility.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/cupertino_compatibility.rb', line 18

def name
  @name
end

#udidObject

Returns the value of attribute udid

Returns:

  • (Object)

    the current value of udid



18
19
20
# File 'lib/cupertino_compatibility.rb', line 18

def udid
  @udid
end

Instance Method Details

#to_sObject



19
20
21
# File 'lib/cupertino_compatibility.rb', line 19

def to_s
  "#{self.name} #{self.udid}"
end