Sha256: dddce6a733c9c5cb59858eb6cea9baad4cd6660ac030c43d597d39ee77343622

Contents?: true

Size: 765 Bytes

Versions: 25

Compression:

Stored size: 765 Bytes

Contents

module Spaceship
  module Tunes
    # Represents a build which doesn't have a version number yet and is either processing or is stuck
    class ProcessingBuild < Build
      # @return [String] The state of this build
      # @example
      #   ITC.apps.betaProcessingStatus.InvalidBinary
      # @example
      #   ITC.apps.betaProcessingStatus.Created
      # @example
      #   ITC.apps.betaProcessingStatus.Uploaded
      attr_accessor :state

      # @return (Integer) The number of ticks since 1970 (e.g. 1413966436000)
      attr_accessor :upload_date

      attr_mapping(
        'state' => :state,
        'uploadDate' => :upload_date
      )

      class << self
        def factory(attrs)
          self.new(attrs)
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
spaceship-0.10.2 lib/spaceship/tunes/processing_build.rb
spaceship-0.10.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.10.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.9.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.9.0 lib/spaceship/tunes/processing_build.rb