lib/ezclient/request.rb in ezclient-1.1.0 vs lib/ezclient/request.rb in ezclient-1.2.0
- old
+ new
@@ -45,9 +45,13 @@
raise "ApiAuth gem is not loaded" unless defined?(ApiAuth)
ApiAuth.sign!(http_request, *args)
self
end
+ def uri
+ http_request.uri
+ end
+
def body
body = +""
http_request.body.each { |chunk| body << chunk }
body
end