Class: IOSConfigProfile::ClearPasscodePayload
- Inherits:
-
Hash
- Object
- Hash
- IOSConfigProfile::ClearPasscodePayload
- Includes:
- BasicPayload
- Defined in:
- lib/ios_config_profile/device/clear_passcode_payload.rb
Instance Attribute Summary collapse
-
#unlock_token ⇒ Object
Returns the value of attribute unlock_token.
Instance Method Summary collapse
-
#initialize(unlock_token) ⇒ ClearPasscodePayload
constructor
A new instance of ClearPasscodePayload.
Methods included from BasicPayload
#to_command_payload, #to_encrypted_payload, #uuid
Constructor Details
#initialize(unlock_token) ⇒ ClearPasscodePayload
Returns a new instance of ClearPasscodePayload.
9 10 11 12 13 |
# File 'lib/ios_config_profile/device/clear_passcode_payload.rb', line 9 def initialize(unlock_token) self.unlock_token = unlock_token require_attributes :unlock_token merge! clear_passcode_payload end |
Instance Attribute Details
#unlock_token ⇒ Object
Returns the value of attribute unlock_token.
7 8 9 |
# File 'lib/ios_config_profile/device/clear_passcode_payload.rb', line 7 def unlock_token @unlock_token end |