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: 185,182 of 197,314
Downloads: 1,690

Daily

Ranking: 21,075 of 197,258
Downloads: 14

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconjoeles