Skip to content

Instantly share code, notes, and snippets.

@goodviber
Created July 16, 2020 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goodviber/22984c7717b0cf47fd23a0647c0c70ed to your computer and use it in GitHub Desktop.
Save goodviber/22984c7717b0cf47fd23a0647c0c70ed to your computer and use it in GitHub Desktop.
VCR cassettes
#puts VCR.current_cassette.http_interactions.interactions.last.response.to_hash["body"]
#thing = YAML.load_file(VCR.current_cassette.file)
#puts thing["http_interactions"].last["response"]["body"]["string"].class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment