Method: Fog::Connection#initialize
- Defined in:
- lib/fog/core/connection.rb
#initialize(url, persistent = false, params = {}) ⇒ Connection
Returns a new instance of Connection.
4 5 6 7 |
# File 'lib/fog/core/connection.rb', line 4 def initialize(url, persistent=false, params={}) @excon = Excon.new(url, params) @persistent = persistent end |