Skip to content

Instantly share code, notes, and snippets.

@ikennaokpala
Created March 19, 2014 17:02
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 ikennaokpala/9646251 to your computer and use it in GitHub Desktop.
Save ikennaokpala/9646251 to your computer and use it in GitHub Desktop.
VCR.use_cassette(postcode_found, :record => :new_episodes) do
response = Net::HTTP.get_response('mapit.com', '/postcode')
puts "Response: #{response.body}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment