lib/amee/shell.rb in Floppy-amee-0.1.5 vs lib/amee/shell.rb in Floppy-amee-0.2.1
- 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'], false) # Disable JSON support for now
+$connection = AMEE::Connection.new(ENV['AMEE_SERVER'], ENV['AMEE_USERNAME'], ENV['AMEE_PASSWORD'])
if $connection.valid?
# Change to root of data api to get going
cd '/data'
# Display AMEE details
\ No newline at end of file