Method: Connection#initialize

Defined in:
lib/ukku/connection.rb

#initialize(opts) ⇒ Connection

Returns a new instance of Connection.



2
3
4
5
6
7
8
# File 'lib/ukku/connection.rb', line 2

def initialize(opts)
  options = opts.each_with_object({}) { |(k,v), h| h[k.to_sym] = v }

  @host = options[:host]
  @user = options[:user]
  @identity_file = options[:identity_file]
end