Class
SSH::Manager::Database
In:
lib/ssh/manager/db.rb
Parent:
Object
Methods
add_new_connection
delete_connection
get_connection_data
new
search_for
update_connection
Constants
DATABASE
=
Sequel.connect("sqlite://#{@path}/sshm.db")
Attributes
connections
[RW]
Public Class methods
new
()
Public Instance methods
add_new_connection
(ip, user='root', hostname='', port=22, note='', connect_via='', created_at, option, count, group, last_time)
delete_connection
(ip)
get_connection_data
()
search_for
(term)
update_connection
(ip, user, hostname, port, note)
[Validate]