lib/dynamoid/adapter_plugin/aws_sdk_v2.rb
# Establish the connection to DynamoDB.
#
# @return [Aws::DynamoDB::Client] the DynamoDB connection
Establish the connection to DynamoDB.
Establish the connection to DynamoDB .
def connect!
        @client = if Dynamoid::Config.endpoint?
          Aws::DynamoDB::Client.new(endpoint: Dynamoid::Config.endpoint)
        else
          Aws::DynamoDB::Client.new
        end
        @table_cache = {}
      end
def connect! @client = if Dynamoid :: Config . endpoint? Aws :: DynamoDB :: Client . new ( endpoint : Dynamoid :: Config . endpoint ) else Aws :: DynamoDB :: Client . new end @table_cache = { } end
Establish the connection to DynamoDB.
Establish the connection to DynamoDB .
the DynamoDB connection
the DynamoDB connection
Aws::DynamoDB::Client