Class: TinyAppstoreConnect::Model::Profile
- Inherits:
-
Object
- Object
- TinyAppstoreConnect::Model::Profile
- Includes:
- TinyAppstoreConnect::Model
- Defined in:
- lib/tiny_appstore_connect/models/profile.rb
Defined Under Namespace
Modules: ProfileState, ProfileType
Constant Summary collapse
- ESSENTIAL_INCLUDES =
[ 'bundleId', 'certificates', 'devices' ].join(',')
Instance Attribute Summary collapse
-
#bundle_id ⇒ Object
include.
-
#certificates ⇒ Object
Returns the value of attribute certificates.
-
#created_date ⇒ Object
Returns the value of attribute created_date.
-
#devices ⇒ Object
Returns the value of attribute devices.
-
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#platform ⇒ Object
Returns the value of attribute platform.
-
#profile_content ⇒ Object
Returns the value of attribute profile_content.
-
#profile_state ⇒ Object
Returns the value of attribute profile_state.
-
#profile_type ⇒ Object
Returns the value of attribute profile_type.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Attributes included from TinyAppstoreConnect::Model
Instance Method Summary collapse
Methods included from TinyAppstoreConnect::Model
included, #initialize, #update_attributes, #update_include
Instance Attribute Details
#bundle_id ⇒ Object
include
20 21 22 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 20 def bundle_id @bundle_id end |
#certificates ⇒ Object
Returns the value of attribute certificates.
21 22 23 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 21 def certificates @certificates end |
#created_date ⇒ Object
Returns the value of attribute created_date.
16 17 18 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 16 def created_date @created_date end |
#devices ⇒ Object
Returns the value of attribute devices.
22 23 24 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 22 def devices @devices end |
#expiration_date ⇒ Object
Returns the value of attribute expiration_date.
17 18 19 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 17 def expiration_date @expiration_date end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 10 def name @name end |
#platform ⇒ Object
Returns the value of attribute platform.
11 12 13 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 11 def platform @platform end |
#profile_content ⇒ Object
Returns the value of attribute profile_content.
14 15 16 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 14 def profile_content @profile_content end |
#profile_state ⇒ Object
Returns the value of attribute profile_state.
13 14 15 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 13 def profile_state @profile_state end |
#profile_type ⇒ Object
Returns the value of attribute profile_type.
12 13 14 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 12 def profile_type @profile_type end |
#uuid ⇒ Object
Returns the value of attribute uuid.
15 16 17 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 15 def uuid @uuid end |
Instance Method Details
#mobileprovision ⇒ Object
52 53 54 55 56 57 58 |
# File 'lib/tiny_appstore_connect/models/profile.rb', line 52 def mobileprovision @mobileprovision ||= -> () { require 'cfpropertylist' raw = CFPropertyList::List.new(data: striped_profile_content).value CFPropertyList.native_types(raw) }.call end |