Class: Fog::Connection
- Inherits:
-
Object
- Object
- Fog::Connection
- Defined in:
- lib/bbcloud/fog_extensions.rb
Instance Method Summary collapse
-
#initialize(url, persistent = false) ⇒ Connection
constructor
A new instance of Connection.
Constructor Details
#initialize(url, persistent = false) ⇒ Connection
Returns a new instance of Connection.
4 5 6 7 |
# File 'lib/bbcloud/fog_extensions.rb', line 4 def initialize(url, persistent=false) @excon = Excon.new(url) @persistent = true end |