Class: Fog::Storage::Ninefold::Real

Inherits:
Atmos::Real
  • Object
show all
Includes:
Utils
Defined in:
lib/fog/ninefold/storage.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Real

Returns a new instance of Real.



40
41
42
43
44
45
46
47
48
49
# File 'lib/fog/ninefold/storage.rb', line 40

def initialize(options={})
  endpoint = "#{STORAGE_SCHEME}://"\
             "#{STORAGE_HOST}:"\
             "#{STORAGE_PORT}"\
             "#{STORAGE_PATH}"
  options[:atmos_storage_endpoint] = endpoint
  options[:atmos_storage_token] = options[:ninefold_storage_token]
  options[:atmos_storage_secret] = options[:ninefold_storage_secret]
  super(options)
end