Class: ConnectorKit::BuildDetails
- Inherits:
-
Object
- Object
- ConnectorKit::BuildDetails
- Defined in:
- lib/connector_kit/models/build_details.rb
Overview
Simple model class for representing Build details in the App Store Connect API
Instance Attribute Summary collapse
-
#external_build_state ⇒ Object
readonly
Returns the value of attribute external_build_state.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#internal_build_state ⇒ Object
readonly
Returns the value of attribute internal_build_state.
Instance Method Summary collapse
-
#initialize(options) ⇒ BuildDetails
constructor
A new instance of BuildDetails.
Constructor Details
#initialize(options) ⇒ BuildDetails
Returns a new instance of BuildDetails.
6 7 8 9 10 11 12 |
# File 'lib/connector_kit/models/build_details.rb', line 6 def initialize() @id = ['id'] attrs = ['attributes'] @external_build_state = attrs['externalBuildState'] @internal_build_state = attrs['internalBuildState'] end |
Instance Attribute Details
#external_build_state ⇒ Object (readonly)
Returns the value of attribute external_build_state.
4 5 6 |
# File 'lib/connector_kit/models/build_details.rb', line 4 def external_build_state @external_build_state end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/connector_kit/models/build_details.rb', line 4 def id @id end |
#internal_build_state ⇒ Object (readonly)
Returns the value of attribute internal_build_state.
4 5 6 |
# File 'lib/connector_kit/models/build_details.rb', line 4 def internal_build_state @internal_build_state end |