def delete_database
      dynamodb = Aws::DynamoDB::Client.new
      dynamodb.delete_table(:table_name => @table_name)
      dynamodb.wait_until(:table_not_exists, table_name: @table_name)
    end
def delete_database
      dynamodb = Aws::DynamoDB::Client.new
      dynamodb.delete_table(:table_name => @table_name)
      dynamodb.wait_until(:table_not_exists, table_name: @table_name)
    end
Create a new DynamoDB object.
 @param db_name [String] name of the DB directory
 @param options [Hash] options to customize the behavior. Currently only
        the following options are supported:
        :serializer    : Can be :json and :yaml
        :aws_id        : AWS credentials ID
        :aws_key       : AWS credentials key
        :aws_region    : AWS region to host the data
 Delete the entire database. The database is no longer usable after this
 method was called.