lib/cfoundry/v1/client.rb in cfoundry-0.5.3.rc6 vs lib/cfoundry/v1/client.rb in cfoundry-0.5.3.rc7

- old
+ new

@@ -44,9 +44,29 @@ # administrator for this to have any effect. def proxy=(email) @base.proxy = email end + # Current http proxy URI. Usually nil. + def http_proxy + @base.http_proxy + end + + # Set the http proxy URI. + def http_proxy=(uri) + @base.http_proxy = uri + end + + # Current https proxy URI. Usually nil. + def https_proxy + @base.https_proxy + end + + # Set the https proxy URI. + def https_proxy=(uri) + @base.https_proxy = uri + end + # Is the client tracing API requests? def trace @base.trace end