Class: IOSConfigProfile::SetDeviceNamePayload
- Inherits:
-
Hash
- Object
- Hash
- IOSConfigProfile::SetDeviceNamePayload
- Includes:
- BasicPayload
- Defined in:
- lib/ios_config_profile/device/set_device_name_payload.rb
Instance Attribute Summary collapse
-
#new_device_name ⇒ Object
Returns the value of attribute new_device_name.
Instance Method Summary collapse
-
#initialize(new_device_name) ⇒ SetDeviceNamePayload
constructor
A new instance of SetDeviceNamePayload.
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_name ⇒ Object
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 |