Module: RUtilAnts::URLAccess

Defined in:
lib/rUtilAnts/URLAccess.rb,
lib/rUtilAnts/URLHandlers/FTP.rb,
lib/rUtilAnts/URLHandlers/HTTP.rb,
lib/rUtilAnts/URLHandlers/DataImage.rb,
lib/rUtilAnts/URLHandlers/LocalFile.rb

Defined Under Namespace

Modules: URLAccessInterface, URLHandlers Classes: Manager, RedirectionError

Constant Summary collapse

CONTENT_ERROR =

Constants identifying which form is the content returned by URL handlers

0
CONTENT_REDIRECT =
1
CONTENT_STRING =
2
CONTENT_LOCALFILENAME =
3
CONTENT_LOCALFILENAME_TEMPORARY =
4

Class Method Summary collapse

Class Method Details

.install_url_access_on_objectObject

Initialize a global plugins cache



197
198
199
200
201
# File 'lib/rUtilAnts/URLAccess.rb', line 197

def self.install_url_access_on_object
  require 'rUtilAnts/SingletonProxy'
  RUtilAnts::make_singleton_proxy(RUtilAnts::URLAccess::URLAccessInterface, Object)
  init_url_access
end