Class: Vito::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/vito/server.rb

Instance Method Summary collapse

Instance Method Details

#connection(type, options = {}) ⇒ Object



7
8
9
# File 'lib/vito/server.rb', line 7

def connection(type, options = {})
  @connection ||= Vito::Connection.new(type, options)
end

#install(name, options = {}) ⇒ Object



11
12
13
# File 'lib/vito/server.rb', line 11

def install(name, options = {})
  Vito::Installation.new(name, options, @connection).install
end

#newObject



3
4
5
# File 'lib/vito/server.rb', line 3

def new

end