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, #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



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

def self.type
  return "buildBetaDetails"
end

Instance Method Details

#ready_for_beta_submission?Boolean

Helpers

Returns:

  • (Boolean)


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

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