Class: Hyperloop::Connection::QueuedMessage
Class Method Summary
collapse
Methods included from AutoCreate
create_table, needs_init?
do_not_synchronize, do_not_synchronize?
Class Method Details
.root_path ⇒ Object
52
53
54
|
# File 'lib/hyper-operation/transport/connection.rb', line 52
def self.root_path
unscoped.find_or_create_by(connection_id: 0).data
end
|
.root_path=(path) ⇒ Object
48
49
50
|
# File 'lib/hyper-operation/transport/connection.rb', line 48
def self.root_path=(path)
unscoped.find_or_create_by(connection_id: 0).update(data: path)
end
|