Class: Fog::AWS::S3

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/storage/aws.rb

Class Method Summary collapse

Class Method Details

.new(attributes = {}) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/fog/storage/aws.rb', line 5

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