HttpResource gives you a Net::HTTP transport with a typed error hierarchy (NotFoundError, ValidationError, AuthError, ServerError, TimeoutError…), Rails-style bang/non-bang resources, pluggable auth strategies (Basic/Bearer/Header), per-call timeouts, and escape-safe URL building so untrusted path segments can never escape the protocol. Bring a base_url and an auth strategy; build clients and resources on top. Zero runtime dependencies (stdlib only).
Required Ruby Version
>= 3.2
Authors
Skiftet
Versions
-
0.3.0
-
source
- 0.3.0 source July 02, 2026 (20.5 KB)
-
-
0.2.0
-
source
- 0.2.0 source June 23, 2026 (15 KB)
-
-
0.1.0
-
source
- 0.1.0 source June 22, 2026 (14 KB)
-
Pushed by
SHA 256 checksum
Provenance
Source Commit
Build File