Class: IOSConfigProfile::InstallDocPayload

Inherits:
Hash
  • Object
show all
Includes:
BasicPayload
Defined in:
lib/ios_config_profile/content/install_doc_payload.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BasicPayload

#to_command_payload, #to_encrypted_payload, #uuid

Constructor Details

#initialize(filepicker_url, name) ⇒ InstallDocPayload

Returns a new instance of InstallDocPayload.



7
8
9
10
11
12
# 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

Instance Attribute Details

#filepicker_urlObject

Returns the value of attribute filepicker_url.



5
6
7
# File 'lib/ios_config_profile/content/install_doc_payload.rb', line 5

def filepicker_url
  @filepicker_url
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/ios_config_profile/content/install_doc_payload.rb', line 5

def name
  @name
end