Module: IOSConfigProfile::BasicPayload
- Included in:
- AppLockPayload, ClearPasscodePayload, CommandPayload, DEPPayload, DeviceInformationPayload, EnrollmentPayload, EraseDevicePayload, InstallApplicationPayload, InstallBookPayload, InstallDocPayload, InstallMarketAppPayload, InstallProfilePayload, InstalledApplicationListPayload, LockDevicePayload, MDMPayload, RemoveApplicationPayload, RemoveBookPayload, RemoveDocPayload, RemoveProfilePayload, RestrictionsPayload, SCEPPayload, SecurityPayload, SetDeviceNamePayload, VPNPayload, WebClipPayload
- Defined in:
- lib/ios_config_profile/basic_payload.rb
Instance Method Summary collapse
Instance Method Details
#to_command_payload ⇒ Object
9 10 11 |
# File 'lib/ios_config_profile/basic_payload.rb', line 9 def to_command_payload CommandPayload.new(self) end |
#to_encrypted_payload ⇒ Object
13 14 15 |
# File 'lib/ios_config_profile/basic_payload.rb', line 13 def to_encrypted_payload EncryptedPayload.new(self) end |
#uuid ⇒ Object
3 4 5 6 7 |
# File 'lib/ios_config_profile/basic_payload.rb', line 3 def uuid # Note that this should be cached so that external code can read the # uuid of a given payload without having to parse the payload itself @uuid ||= random_uuid end |