Use a Struct for passing parameters around

This helps avoid bugs due to mispelled param names
This commit is contained in:
Mark Maglana
2013-08-25 23:44:08 -07:00
parent fa2ccf1fc4
commit 193cc5f3cc
7 changed files with 156 additions and 118 deletions

View File

@@ -2,6 +2,7 @@ require 'vcr'
VCR.configure do |c|
c.cassette_library_dir = Pathname.new(__FILE__).join('..', '..', 'cassettes')
c.debug_logger = File.open(Pathname.new(__FILE__).join('..', '..', '..', 'vcr.log'), 'w')
c.hook_into :faraday
unless @vcr_port_matcher_registered