Module: Fog::Local

Extended by:
Provider
Defined in:
lib/fog/local.rb,
lib/fog/local/storage.rb,
lib/fog/local/models/storage/file.rb,
lib/fog/local/models/storage/files.rb,
lib/fog/local/models/storage/directory.rb,
lib/fog/local/models/storage/directories.rb

Defined Under Namespace

Classes: Storage

Class Method Summary collapse

Methods included from Provider

service, service_path, services

Class Method Details

.new(attributes = {}) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/fog/local.rb', line 9

def self.new(attributes = {})
  location = caller.first
  warning = "[yellow][WARN] Fog::Local#new is deprecated, use Fog::Local::Storage#new instead[/]"
  warning << " [light_black](" << location << ")[/] "
  Formatador.display_line(warning)
  Fog::Local::Storage.new(attributes)
end