Struct.new(:method, :uri, :body, :headers)
# File lib/vcr/structs/request.rb, line 7 def self.from_net_http_request(net_http, request) new( request.method.downcase.to_sym, VCR.http_stubbing_adapter.request_uri(net_http, request), request.body, request.to_hash ) end
# File lib/vcr/structs/request.rb, line 22 def matcher(match_attributes) RequestMatcher.new(self, match_attributes) end
# File lib/vcr/structs/request.rb, line 17 def method(*args) return super if args.empty? @@object_method.bind(self).call(*args) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.