Using Atomic Transactions to Power an Idempotent API

Uses Ruby, Sequel, Postgres and Sidekiq in the examples