Module: IOSConfigProfile::BasicPayload

Instance Method Summary collapse

Instance Method Details

#to_command_payloadObject



9
10
11
# File 'lib/ios_config_profile/basic_payload.rb', line 9

def to_command_payload
  CommandPayload.new(self)
end

#to_encrypted_payloadObject



13
14
15
# File 'lib/ios_config_profile/basic_payload.rb', line 13

def to_encrypted_payload
  EncryptedPayload.new(self)
end

#uuidObject



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