Class: MobileProvision::Representation
- Inherits:
-
Object
- Object
- MobileProvision::Representation
- Defined in:
- lib/mobile_provision/representation.rb
Constant Summary collapse
- EXPIRATION_DATE_KEY =
'ExpirationDate'- ENTITLEMENTS_KEY =
'Entitlements'- BUNDLE_ID_KEY =
'application-identifier'- CERTIFICATE_KEY =
'DeveloperCertificates'- INHOUSE_PROFILE_KEY =
'ProvisionsAllDevices'- ADHOC_PROFILE_KEY =
'ProvisionedDevices'
Instance Attribute Summary collapse
-
#bundle_id ⇒ Object
readonly
Returns the value of attribute bundle_id.
-
#certificate ⇒ Object
readonly
Returns the value of attribute certificate.
-
#expiration_date ⇒ Object
readonly
Returns the value of attribute expiration_date.
-
#profile_type ⇒ Object
readonly
Returns the value of attribute profile_type.
-
#registered_udids ⇒ Object
readonly
Returns the value of attribute registered_udids.
Instance Method Summary collapse
-
#initialize(file) ⇒ Representation
constructor
A new instance of Representation.
Constructor Details
#initialize(file) ⇒ Representation
Returns a new instance of Representation.
15 16 17 18 19 20 21 22 |
# File 'lib/mobile_provision/representation.rb', line 15 def initialize(file) read!(file) @expiration_date = build_expiration_date @certificate = build_certificate @bundle_id = build_bundle_id @profile_type = build_profile_type @registered_udids = build_registered_udids end |
Instance Attribute Details
#bundle_id ⇒ Object (readonly)
Returns the value of attribute bundle_id.
13 14 15 |
# File 'lib/mobile_provision/representation.rb', line 13 def bundle_id @bundle_id end |
#certificate ⇒ Object (readonly)
Returns the value of attribute certificate.
13 14 15 |
# File 'lib/mobile_provision/representation.rb', line 13 def certificate @certificate end |
#expiration_date ⇒ Object (readonly)
Returns the value of attribute expiration_date.
13 14 15 |
# File 'lib/mobile_provision/representation.rb', line 13 def expiration_date @expiration_date end |
#profile_type ⇒ Object (readonly)
Returns the value of attribute profile_type.
13 14 15 |
# File 'lib/mobile_provision/representation.rb', line 13 def profile_type @profile_type end |
#registered_udids ⇒ Object (readonly)
Returns the value of attribute registered_udids.
13 14 15 |
# File 'lib/mobile_provision/representation.rb', line 13 def registered_udids @registered_udids end |