Class: IOSConfigProfile::CommandPayload
- Inherits:
-
Hash
- Object
- Hash
- IOSConfigProfile::CommandPayload
- Includes:
- BasicPayload
- Defined in:
- lib/ios_config_profile/command_payload.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command) ⇒ CommandPayload
constructor
A new instance of CommandPayload.
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
#command ⇒ Object (readonly)
Returns the value of attribute command.
7 8 9 |
# File 'lib/ios_config_profile/command_payload.rb', line 7 def command @command end |