Sha256: 380c3b249cd26932cbb1e91bc85be740f660b9aa1c4f0ea5100b73fea2b981a8

Contents?: true

Size: 1.23 KB

Versions: 74

Compression:

Stored size: 1.23 KB

Contents

module Spaceship
  module Tunes
    # Represents the details of a build
    class BuildDetails < TunesBase
      # @return (String) The App identifier of this app, provided by iTunes Connect
      # @example
      #   "1013943394"
      attr_accessor :apple_id

      # @return (String) Link to the dSYM file (not always available)
      #     lol, it's unencrypted http
      attr_accessor :dsym_url

      # @return [Bool]
      attr_accessor :include_symbols

      # @return [Integer]
      attr_accessor :number_of_asset_packs

      # @return [Bool]
      attr_accessor :contains_odr

      # e.g. "13A340"
      attr_accessor :build_sdk

      # @return [String] e.g. "MyApp.ipa"
      attr_accessor :file_name

      attr_mapping(
        'apple_id' => :apple_id,
        'dsymurl' => :dsym_url,
        'includesSymbols' => :include_symbols,
        'numberOfAssetPacks' => :number_of_asset_packs,
        'containsODR' => :contains_odr,
        'buildSdk' => :build_sdk,
        'fileName' => :file_name
      )

      class << self
        # Create a new object based on a hash.
        # This is used to create a new object based on the server response.
        def factory(attrs)
          self.new(attrs)
        end
      end
    end
  end
end

Version data entries

74 entries across 74 versions & 2 rubygems

Version Path
fastlane-2.14.2 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.14.1 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.14.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.13.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.12.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.11.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.10.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.9.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.8.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.7.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.6.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.5.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.4.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.3.1 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.3.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.2.0 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.1.3 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.1.2 spaceship/lib/spaceship/tunes/build_details.rb
fastlane-2.1.1 spaceship/lib/spaceship/tunes/build_details.rb
spaceship-1.0.0 lib/spaceship/tunes/build_details.rb