class IOSConfigProfile::InstallDocPayload
Attributes
filepicker_url[RW]
name[RW]
Public Class Methods
new(filepicker_url, name)
click to toggle source
# File lib/ios_config_profile/content/install_doc_payload.rb, line 7 def initialize(filepicker_url, name) @filepicker_url = filepicker_url @name = name require_attributes :filepicker_url, :name merge! install_doc_payload end
Private Instance Methods
install_doc_payload()
click to toggle source
# File lib/ios_config_profile/content/install_doc_payload.rb, line 16 def install_doc_payload { "RequestType" => "InstallMedia", "MediaURL" => filepicker_url, "MediaType" => "Book", "Kind" => "pdf", "Title" => name, "PersistentID" => "#{IOSConfigProfile.root_domain}.files.#{filepicker_url}", } end