Registry / testing / ephemeral-response

ephemeral-response

JSON →
library0.4.0rbrubygemsunverified

Save HTTP responses to fixtures for realistic testing, with expiration support.

gem install ephemeral_response
INSTALL
IMPORT
SIG · EPHEMERAL-RESPONSE
E
ephemeral-response
testingrubyv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EphemeralResponse
require 'ephemeral_response'

Activate caching of HTTP responses to fixtures.

require 'ephemeral_response' EphemeralResponse.configure do |config| config.fixture_path = 'spec/fixtures' end EphemeralResponse.activate Net::HTTP.get(URI('http://example.com')) # Caches response
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
ephemeral-response — gem install ephemeral-response · libregistry