Class: Cupertino::ProvisioningPortal::Device

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#device_idObject

Returns the value of attribute device_id

Returns:

  • (Object)

    the current value of device_id



11
12
13
# File 'lib/cupertino/provisioning_portal.rb', line 11

def device_id
  @device_id
end

#enabledObject

Returns the value of attribute enabled

Returns:

  • (Object)

    the current value of enabled



11
12
13
# File 'lib/cupertino/provisioning_portal.rb', line 11

def enabled
  @enabled
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/cupertino/provisioning_portal.rb', line 11

def name
  @name
end

#udidObject

Returns the value of attribute udid

Returns:

  • (Object)

    the current value of udid



11
12
13
# File 'lib/cupertino/provisioning_portal.rb', line 11

def udid
  @udid
end

Instance Method Details

#to_sObject



12
13
14
# File 'lib/cupertino/provisioning_portal.rb', line 12

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