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