class Fog::Storage::Ninefold::Real

Public Class Methods

new(options={}) click to toggle source
Calls superclass method Fog::Storage::Atmos::Real::new
# File lib/fog/ninefold/storage.rb, line 43
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