Method: Zena::Remote::Mock::Http#request
- Defined in:
- lib/zena/remote/mock.rb
#request(raw_request) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/zena/remote/mock.rb', line 9 def request(raw_request) # body should contain xml data for post and put (@raw_request.body ?) method = raw_request.method.downcase path = raw_request.path body = raw_request.body response = $test_connection.test_request(method, path, body, @options[:headers], false) transform_response(response) end |