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