Categories: None [Edit]

http_resource

https://rubygems.org/gems/http_resource
https://github.com/Skiftet/http_resource
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).

Total

Ranking: 188,726 of 195,929
Downloads: 889

Daily

Ranking: 65,414 of 195,909
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconjoeles