class IOSConfigProfile::InstallMarketAppPayload

Attributes

manifest_url[RW]

Public Class Methods

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

Private Instance Methods

install_market_app_payload() click to toggle source
# File lib/ios_config_profile/content/install_market_app_payload.rb, line 15
def install_market_app_payload
  {
    "RequestType" => "InstallApplication",
    "ManifestURL" => manifest_url,
    "ManagementFlags" => 1,
  }
end