bin/console
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'bundler/setup'
require 'dynamoid'
require 'dynamoid/log/formatter'
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start
Dynamoid.configure do |config|
# DynamoDB local version 2.0.0 and greater AWS_ACCESS_KEY_ID can contain
# the only letters (A–Z, a–z) and numbers (0–9).
# See https://hub.docker.com/r/amazon/dynamodb-local
config.access_key = 'accesskey'
config.secret_key = 'secretkey'
config.region = 'us-west-2'
config.endpoint = 'http://localhost:8000'
config.log_formatter = Dynamoid::Log::Formatter::Compact.new
end
require 'irb'
IRB.start