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