Sha256: 70123d8e81e7cd1ee7fb1f784bb8e69fad34f3dcdd29a6c9b98ef75557b55126

Contents?: true

Size: 1.58 KB

Versions: 3

Compression:

Stored size: 1.58 KB

Contents

require_relative 'portal_base'

module Spaceship
  module Portal
    class ProvisioningProfileTemplate < PortalBase
      ##
      # Data model representing a provisioning profile template

      # @return (String) Template's description
      # @example
      #   "Subscription Service iOS (dist)"
      attr_accessor :template_description

      # @return (String) Template's purpose description
      # @example
      #   "Generic Provisioning Profile Template for App: com.apple.smoot.subscriptionservice"
      attr_accessor :purpose_description

      # @return (String) Template's purpose name displayed in Dev Portal
      # @example
      #   "Subscription Service iOS (dist)"
      attr_accessor :purpose_display_name

      # @return (String) Template's purpose name
      # @example
      #   "Subscription Service iOS (dist)"
      attr_accessor :purpose_name

      # @return (String) Template version
      # @example
      #   "1"
      attr_accessor :version

      # @return (Array) A list of extended entitlement IDs defined by the template
      #   This is almost always nil :shrug_emoticon:
      # @example
      #   nil
      # @example
      #   ["com.apple.smoot.subscriptionservice"]
      attr_accessor :entitlements

      attr_mapping({
        'description' => :template_description,
        'purposeDescription' => :purpose_description,
        'purposeDisplayName' => :purpose_display_name,
        'purposeName' => :purpose_name,
        'version' => :version,
        'entitlements' => :entitlements
      })
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 spaceship/lib/spaceship/portal/provisioning_profile_template.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/portal/provisioning_profile_template.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/portal/provisioning_profile_template.rb