Class: Spaceship::Tunes::ProcessingBuild

Inherits:
Build show all
Defined in:
lib/spaceship/tunes/processing_build.rb

Overview

Represents a build which doesn’t have a version number yet and is either processing or is stuck

Instance Attribute Summary collapse

Attributes inherited from Build

#app_name, #build_train, #build_version, #crash_count, #external_expiry_date, #external_install_count, #external_testing_enabled, #icon_url, #id, #install_count, #internal_expiry_date, #internal_install_count, #platform, #ready_to_install, #session_count, #train_version, #valid, #watch_kit_enabled

Attributes inherited from Base

#raw_data

Class Method Summary collapse

Methods inherited from Build

#cancel_beta_review!, #setup, #submit_for_beta_review!, #testing_status

Methods inherited from TunesBase

client

Methods inherited from Base

attr_accessor, attr_mapping, attributes, #attributes, #client, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s

Constructor Details

This class inherits a constructor from Spaceship::Base

Instance Attribute Details

#stateString

Returns The state of this build.

Examples:

ITC.apps.betaProcessingStatus.InvalidBinary
ITC.apps.betaProcessingStatus.Created
ITC.apps.betaProcessingStatus.Uploaded

Returns:

  • (String)

    The state of this build



13
14
15
# File 'lib/spaceship/tunes/processing_build.rb', line 13

def state
  @state
end

#upload_dateInteger

Returns The number of ticks since 1970 (e.g. 1413966436000).

Returns:

  • (Integer)

    The number of ticks since 1970 (e.g. 1413966436000)



16
17
18
# File 'lib/spaceship/tunes/processing_build.rb', line 16

def upload_date
  @upload_date
end

Class Method Details

.factory(attrs) ⇒ Object



24
25
26
# File 'lib/spaceship/tunes/processing_build.rb', line 24

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