Class: IOSConfigProfile::CommandPayload

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BasicPayload

#to_command_payload, #to_encrypted_payload, #uuid

Constructor Details

#initialize(command) ⇒ CommandPayload

Returns a new instance of CommandPayload.



9
10
11
12
13
# File 'lib/ios_config_profile/command_payload.rb', line 9

def initialize(command)
  @command = command
  require_attributes :command
  merge! command_payload
end

Instance Attribute Details

#commandObject (readonly)

Returns the value of attribute command.



7
8
9
# File 'lib/ios_config_profile/command_payload.rb', line 7

def command
  @command
end