Sha256: dec49b88d9ed5897f0a8b6862bb9ec0ed3eb00e112ff89dd91125c4fcda97cd7

Contents?: true

Size: 314 Bytes

Versions: 194

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

module Aws
  # @api private
  class TypeBuilder

    def initialize(svc_module)
      @types_module = svc_module.const_set(:Types, Module.new)
    end

    def build_type(shape, shapes)
      @types_module.const_set(shape.name, Structure.new(*shape.member_names))
    end

  end
end

Version data entries

194 entries across 194 versions & 1 rubygems

Version Path
aws-sdk-core-3.216.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.215.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.215.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.214.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.214.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.213.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.212.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.211.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.210.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.209.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.209.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.208.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.207.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.206.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.205.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.204.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.203.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.202.2 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.202.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.202.0 lib/aws-sdk-core/type_builder.rb