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