Class: BackendConnection
- Inherits:
-
Object
- Object
- BackendConnection
- Defined in:
- lib/engine/app/lib/backend_connection.rb
Class Method Summary collapse
Class Method Details
.build(opts = {}) ⇒ Object
8 9 10 |
# File 'lib/engine/app/lib/backend_connection.rb', line 8 def self.build(opts = {}) Backend.new(opts.merge(host: host, port: port)) end |
.setup {|_self| ... } ⇒ Object
4 5 6 |
# File 'lib/engine/app/lib/backend_connection.rb', line 4 def self.setup yield(self) if block_given? end |