Class: Fog::Storage::Ninefold::Real
- Inherits:
-
Atmos::Real
- Object
- Atmos::Real
- Fog::Storage::Ninefold::Real
- Includes:
- Utils
- Defined in:
- lib/fog/ninefold/storage.rb
Constant Summary
Constants included from Atmos::Utils
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Real
constructor
A new instance of Real.
Methods inherited from Atmos::Real
#delete_namespace, #get_namespace, #head_namespace, #post_namespace, #put_namespace, #reload, #request, #sign, #uid
Methods included from Atmos::Utils
#api_path, #host, #port, #setup_credentials, #ssl?
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(={}) endpoint = "#{STORAGE_SCHEME}://"\ "#{STORAGE_HOST}:"\ "#{STORAGE_PORT}"\ "#{STORAGE_PATH}" [:atmos_storage_endpoint] = endpoint [:atmos_storage_token] = [:ninefold_storage_token] [:atmos_storage_secret] = [:ninefold_storage_secret] super() end |