Sha256: 4ba873e48b5a737549d6721e235ed6d74eba60768582134c191531d9e6feb540
Contents?: true
Size: 510 Bytes
Versions: 3
Compression:
Stored size: 510 Bytes
Contents
module IOSConfigProfile class SetDeviceNamePayload < Hash include IOSConfigProfile::BasicPayload attr_accessor :new_device_name def initialize(new_device_name) self.new_device_name = new_device_name require_attributes :new_device_name merge! set_device_name_payload end private def set_device_name_payload { "RequestType" => "Settings", "Settings" => [{ "Item" => "DeviceName", "DeviceName" => new_device_name }], } end end end
Version data entries
3 entries across 3 versions & 1 rubygems