examples/e.rb in ruby_skynet-0.4.0.pre2 vs examples/e.rb in ruby_skynet-0.4.0
- old
+ new
@@ -1,14 +1 @@
-$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
-require 'rubygems'
-require 'ruby_skynet'
-require 'active_support/core_ext/hash/conversions'
-
-SemanticLogger::Logger.default_level = :trace
-SemanticLogger::Logger.appenders << SemanticLogger::Appender::File.new('skynet.log')
-
-client = RubySkynet::Client.new('InquiriesService')
-#h = {}; 1000.times{|i| h["hello#{i}"] = i}
-#p client.call('echo', h)
-data = Hash.from_xml(File.read("../../claritybase/test/load/inquiry.xml"))['inquiry']
-p data
-p client.call('create', data)
\ No newline at end of file