lib/amee/shell.rb in Floppy-amee-0.1.2 vs lib/amee/shell.rb in Floppy-amee-0.1.5
- old
+ new
@@ -58,10 +58,10 @@
require 'rubygems'
require 'amee'
include AMEE::Shell
# Set up connection
-$connection = AMEE::Connection.new(ENV['AMEE_SERVER'], ENV['AMEE_USERNAME'], ENV['AMEE_PASSWORD'])
+$connection = AMEE::Connection.new(ENV['AMEE_SERVER'], ENV['AMEE_USERNAME'], ENV['AMEE_PASSWORD'], false) # Disable JSON support for now
if $connection.valid?
# Change to root of data api to get going
cd '/data'
# Display AMEE details
\ No newline at end of file