class IOSConfigProfile::InstallProfilePayload

Attributes

profile[RW]

Public Class Methods

new(profile) click to toggle source
# File lib/ios_config_profile/device/install_profile_payload.rb, line 7
def initialize(profile)
  self.profile = profile
  require_attributes :profile
  merge! install_profile_payload
end

Private Instance Methods

install_profile_payload() click to toggle source
# File lib/ios_config_profile/device/install_profile_payload.rb, line 15
def install_profile_payload
  {
    "RequestType" => "InstallProfile",
    "Payload" => StringIO.new(profile),
  }
end