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.16.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.15.2 lib/spaceship/tunes/processing_build.rb
spaceship-0.15.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.15.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.14.2 lib/spaceship/tunes/processing_build.rb
spaceship-0.14.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.14.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.13.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.13.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.12.3 lib/spaceship/tunes/processing_build.rb
spaceship-0.12.2 lib/spaceship/tunes/processing_build.rb
spaceship-0.12.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.12.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.11.5 lib/spaceship/tunes/processing_build.rb
spaceship-0.11.4 lib/spaceship/tunes/processing_build.rb
spaceship-0.11.3 lib/spaceship/tunes/processing_build.rb
spaceship-0.11.2 lib/spaceship/tunes/processing_build.rb
spaceship-0.11.1 lib/spaceship/tunes/processing_build.rb
spaceship-0.11.0 lib/spaceship/tunes/processing_build.rb
spaceship-0.10.3 lib/spaceship/tunes/processing_build.rb