class LambdaPunch::Server

Public Class Methods

new() click to toggle source
# File lib/lambda_punch/server.rb, line 20
def initialize
  @queue = Queue.new
  DRb.start_service self.class.uri, @queue
end
start!() click to toggle source
# File lib/lambda_punch/server.rb, line 12
def start!
  require 'concurrent'
  LambdaPunch.logger.info "Server.start!..."
  instance
end
uri() click to toggle source
# File lib/lambda_punch/server.rb, line 8
def uri
  'druby://127.0.0.1:9030'
end