Class: IOSConfigProfile::SetDeviceNamePayload

Inherits:
Hash
  • Object
show all
Includes:
BasicPayload
Defined in:
lib/ios_config_profile/device/set_device_name_payload.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BasicPayload

#to_command_payload, #to_encrypted_payload, #uuid

Constructor Details

#initialize(new_device_name) ⇒ SetDeviceNamePayload

Returns a new instance of SetDeviceNamePayload.



7
8
9
10
11
# File 'lib/ios_config_profile/device/set_device_name_payload.rb', line 7

def initialize(new_device_name)
  self.new_device_name = new_device_name
  require_attributes :new_device_name
  merge! set_device_name_payload
end

Instance Attribute Details

#new_device_nameObject

Returns the value of attribute new_device_name.



5
6
7
# File 'lib/ios_config_profile/device/set_device_name_payload.rb', line 5

def new_device_name
  @new_device_name
end