Method: Fog::Storage::Softlayer::Mock#initialize
- Defined in:
- lib/fog/softlayer/storage.rb
#initialize(options = {}) ⇒ Mock
Returns a new instance of Mock.
61 62 63 64 65 66 67 |
# File 'lib/fog/softlayer/storage.rb', line 61 def initialize(={}) @softlayer_api_key = [:softlayer_api_key] @softlayer_username = [:softlayer_username] validate_username! @softlayer_username @path = '/v1/AUTH_1234' @containers = {} end |