Class: Pliney::Entitlements
- Inherits:
-
Object
- Object
- Pliney::Entitlements
- Defined in:
- lib/pliney/entitlements.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#ents ⇒ Object
readonly
Returns the value of attribute ents.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ents) ⇒ Entitlements
constructor
A new instance of Entitlements.
Constructor Details
#initialize(ents) ⇒ Entitlements
Returns a new instance of Entitlements.
9 10 11 |
# File 'lib/pliney/entitlements.rb', line 9 def initialize(ents) @ents = ents end |
Instance Attribute Details
#ents ⇒ Object (readonly)
Returns the value of attribute ents.
8 9 10 |
# File 'lib/pliney/entitlements.rb', line 8 def ents @ents end |
Class Method Details
.from_data(data) ⇒ Object
4 5 6 |
# File 'lib/pliney/entitlements.rb', line 4 def self.from_data(data) new(Pliney.parse_plist(data)) end |