Class: RoundhouseUi::Demo::CheckoutWorker

Inherits:
Base
  • Object
show all
Defined in:
lib/roundhouse_ui/demo.rb

Overview

A payment path: quick, and fails often enough to group.

Constant Summary collapse

OWNER =
:core
QUEUE =
"stripe"
DURATION =
(200..1_200)
FAILURE_RATE =
0.18
ERRORS =
[
  [ Timeout::Error, "Stripe API timed out after 8s" ],
  [ ArgumentError, "no such price" ]
].freeze

Method Summary

Methods inherited from Base

#perform