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

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Model

#attr_mapping, included, #initialize, #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

#ready_for_beta_submission?Boolean

Returns:

  • (Boolean)

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

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