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.181.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.181.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.180.3 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.180.2 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.180.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.180.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.179.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.178.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.177.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.176.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.176.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.175.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.174.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.173.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.173.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.172.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.171.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.171.0 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.170.1 lib/aws-sdk-core/type_builder.rb
aws-sdk-core-3.170.0 lib/aws-sdk-core/type_builder.rb