Class: Spaceship::ConnectAPI::BuildBetaDetail

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb

Defined Under Namespace

Modules: ExternalState, InternalState

Instance Attribute Summary collapse

Attributes included from Model

#id, #reverse_attr_map

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #reverse_attr_mapping, #to_json, #update_attributes

Instance Attribute Details

#auto_notify_enabledObject

Returns the value of attribute auto_notify_enabled.



7
8
9
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 7

def auto_notify_enabled
  @auto_notify_enabled
end

#did_notifyObject

Returns the value of attribute did_notify.



8
9
10
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 8

def did_notify
  @did_notify
end

#external_build_stateObject

Returns the value of attribute external_build_state.



10
11
12
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 10

def external_build_state
  @external_build_state
end

#internal_build_stateObject

Returns the value of attribute internal_build_state.



9
10
11
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 9

def internal_build_state
  @internal_build_state
end

Class Method Details

.typeObject



44
45
46
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 44

def self.type
  return "buildBetaDetails"
end

Instance Method Details

#missing_export_compliance?Boolean

Returns:

  • (Boolean)


64
65
66
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 64

def missing_export_compliance?
  return external_build_state == ExternalState::MISSING_EXPORT_COMPLIANCE
end

#processed?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 56

def processed?
  return internal_build_state != InternalState::PROCESSING && external_build_state != ExternalState::PROCESSING
end

#ready_for_beta_submission?Boolean

Returns:

  • (Boolean)


60
61
62
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 60

def ready_for_beta_submission?
  return external_build_state == ExternalState::READY_FOR_BETA_SUBMISSION
end

#ready_for_internal_testing?Boolean

Helpers

Returns:

  • (Boolean)


52
53
54
# File 'spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb', line 52

def ready_for_internal_testing?
  return internal_build_state == InternalState::READY_FOR_BETA_TESTING
end