Module: ZeroClick
- Defined in:
- lib/zeroclick/sellers.rb,
lib/zeroclick/sellers/usage.rb,
lib/zeroclick/sellers/client.rb,
lib/zeroclick/sellers/errors.rb,
lib/zeroclick/sellers/verify.rb,
lib/zeroclick/sellers/railtie.rb,
lib/zeroclick/sellers/version.rb,
lib/zeroclick/sellers/contracts.rb,
lib/zeroclick/sellers/responses.rb,
lib/zeroclick/sellers/middleware.rb
Overview
The ZeroClick billing guard for Ruby backends.
It verifies that a request really came from ZeroClick, checks that the buyer can pay before you do the work, builds the refusal responses ZeroClick expects, and reports what was used.
The core is stdlib-only — openssl, json, net/http — so it adds nothing to your
dependency graph. The Rack middleware is duck-typed and needs no rack require;
zeroclick/sellers/railtie is opt-in and is the only file that touches Rails.
Defined Under Namespace
Modules: Sellers