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
spaceship-0.34.1 lib/spaceship/tunes/build_details.rb
spaceship-0.34.0 lib/spaceship/tunes/build_details.rb
spaceship-0.33.0 lib/spaceship/tunes/build_details.rb
spaceship-0.32.4 lib/spaceship/tunes/build_details.rb
spaceship-0.32.3 lib/spaceship/tunes/build_details.rb
spaceship-0.32.2 lib/spaceship/tunes/build_details.rb
spaceship-0.32.1 lib/spaceship/tunes/build_details.rb
spaceship-0.32.0 lib/spaceship/tunes/build_details.rb
spaceship-0.31.10 lib/spaceship/tunes/build_details.rb
spaceship-0.31.9 lib/spaceship/tunes/build_details.rb
spaceship-0.31.8 lib/spaceship/tunes/build_details.rb
spaceship-0.31.7 lib/spaceship/tunes/build_details.rb
spaceship-0.31.6 lib/spaceship/tunes/build_details.rb
spaceship-0.31.5 lib/spaceship/tunes/build_details.rb
spaceship-0.31.4 lib/spaceship/tunes/build_details.rb
spaceship-0.31.3 lib/spaceship/tunes/build_details.rb
spaceship-0.31.2 lib/spaceship/tunes/build_details.rb
spaceship-0.31.1 lib/spaceship/tunes/build_details.rb
spaceship-0.31.0 lib/spaceship/tunes/build_details.rb
spaceship-0.30.0 lib/spaceship/tunes/build_details.rb