Commit eefee032 authored by Jordan Sissel's avatar Jordan Sissel

- validation

parent 8ddbd85a
......@@ -18,11 +18,11 @@ module Lumberjack
:their_public_key => nil,
}.merge(options)
#[:my_secret_key, :their_public_key].each do |k|
#if @options[k].nil?
#raise "You must specify #{k} in Lumberjack::Server.new(...)"
#end
#end
[:my_secret_key, :their_public_key].each do |k|
if @options[k].nil?
raise "You must specify #{k} in Lumberjack::Server.new(...)"
end
end
@context = ZMQ::Context.new
@socket = @context.socket(ZMQ::REP)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment