Module: Mikka::Remote
- Defined in:
- lib/mikka.rb
Constant Summary collapse
- DEFAULT_HOST =
'localhost'
- DEFAULT_PORT =
2552
Class Method Summary collapse
Class Method Details
.actor_for(id, options = {}) ⇒ Object
47 48 49 |
# File 'lib/mikka.rb', line 47 def self.actor_for(id, ={}) remote_support.actor_for(id, .fetch(:host, DEFAULT_HOST), .fetch(:port, DEFAULT_PORT)) end |
.start(options = nil) ⇒ Object
40 41 42 43 44 45 |
# File 'lib/mikka.rb', line 40 def self.start(=nil) if then remote_support.start(.fetch(:host, DEFAULT_HOST), .fetch(:port, DEFAULT_PORT)) else remote_support.start end end |