Method: ActiveResource::Base.proxy
- Defined in:
- lib/active_resource/base.rb
.proxy ⇒ Object
Gets the proxy variable if a proxy is required
499 500 501 502 503 504 505 506 |
# File 'lib/active_resource/base.rb', line 499 def proxy # Not using superclass_delegating_reader. See +site+ for explanation if _proxy_defined? _proxy elsif superclass != Object && superclass.proxy superclass.proxy.dup.freeze end end |