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: 184,079 of 197,776
Downloads: 1,908

Daily

Ranking: 17,998 of 197,744
Downloads: 20

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconjoeles