Sha256: ad9eaf21c48a5df810079e62e5e5444d0d1e9a7637c77bc14005b6a0f6ebd510

Contents?: true

Size: 423 Bytes

Versions: 8

Compression:

Stored size: 423 Bytes

Contents

require 'connector_kit/models/model'

module ConnectorKit
  # Simple model class for representing Build details
  class BuildDetails < Model
    attr_reader :external_build_state, :internal_build_state

    def initialize(options)
      super(options)

      attrs = options['attributes']
      @external_build_state = attrs['externalBuildState']
      @internal_build_state = attrs['internalBuildState']
    end
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
appstore_kit_fork-0.0.5 lib/connector_kit/models/build_details.rb
appstore_kit_fork-0.0.4 lib/connector_kit/models/build_details.rb
appstore_kit_fork-0.0.3 lib/connector_kit/models/build_details.rb
appstore_kit_fork-0.0.2 lib/connector_kit/models/build_details.rb
appstore_kit_fork-0.0.1 lib/connector_kit/models/build_details.rb
connector_kit_fork-0.3.2 lib/connector_kit/models/build_details.rb
connector_kit_fork-0.3.1 lib/connector_kit/models/build_details.rb
connector_kit-0.3.0 lib/connector_kit/models/build_details.rb