class DynamoDbFramework::Store

Attributes

client[R]

Public Class Methods

new(options = {}) click to toggle source
# File lib/dynamodb_framework/dynamodb_store.rb, line 5
def initialize(options = {})

  if options.has_key?(:endpoint)
    @client = Aws::DynamoDB::Client.new(region: options[:aws_region], endpoint: options[:endpoint])
  else
    @client = Aws::DynamoDB::Client.new
  end

end