# File lib/vcr/request_matcher.rb, line 10 def initialize(request = nil, match_attributes = []) if (match_attributes - VALID_MATCH_ATTRIBUTES).size > 0 raise ArgumentError.new("The only valid match_attributes options are: #{VALID_MATCH_ATTRIBUTES.inspect}. You passed: #{match_attributes.inspect}.") end @request, self.match_attributes = request, match_attributes end