Module: ZeroDrop

Defined in:
lib/zerodrop.rb,
lib/zerodrop/version.rb

Overview

ZeroDrop — disposable email inboxes for testing auth flows in CI. OTPs and magic links auto-extracted at Cloudflare's edge. No regex, no Docker, no signup.

mail = ZeroDrop::Client.new
inbox = mail.generate_inbox
email = mail.wait_for_latest(inbox, timeout: 15)
email.otp        # => "847291"
email.magic_link # => "https://..."

Defined Under Namespace

Classes: AuthError, Client, Email, Filter, NetworkError, TimeoutError

Constant Summary collapse

DEFAULT_BASE_URL =
"https://zerodrop.dev"
FREE_DOMAIN =
"zerodrop-sandbox.online"
ADJECTIVES =
%w[swift dark cold null void zero dead raw base core].freeze
VERSION =
"0.1.0"