Server.api :get_license_info, :admin do |params,user| {:rhoconnect_version => Rhoconnect.license.rhoconnect_version, :licensee => Rhoconnect.license.licensee, :seats => Rhoconnect.license.seats, :issued => Rhoconnect.license.issued, :available => Rhoconnect.license.available }.to_json end