examples/view_data_item.rb in Floppy-amee-0.1.5 vs examples/view_data_item.rb in Floppy-amee-0.2.1
- old
+ new
@@ -15,10 +15,10 @@
options[:server] = s
end
end.parse!
# Connect
-connection = AMEE::Connection.new(options[:server], options[:username], options[:password], false) # Disable JSON support for now
+connection = AMEE::Connection.new(options[:server], options[:username], options[:password])
# For each path in arg list, show details
ARGV.each do |path|
cat = AMEE::Data::Item.get(connection, path)
puts "---------------------"