Module: Fog::Local

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

Defined Under Namespace

Classes: Storage

Class Method Summary collapse

Methods included from Provider

service, services

Class Method Details

.new(attributes = {}) ⇒ Object



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

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