lib/rhoconnect/api/system/get_license_info.rb in rhoconnect-3.4.5 vs lib/rhoconnect/api/system/get_license_info.rb in rhoconnect-4.0.0.beta.10

- old
+ new

@@ -1,9 +1,9 @@ -Server.api4 :get_license_info, :get, "/rc/#{Rhoconnect::API_VERSION}/system/license", \ - true, {:verb => :post, :url => ['/api/get_license_info', '/api/admin/get_license_info']} 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 +# Server.api4 :get_license_info, :get, "/rc/#{Rhoconnect::API_VERSION}/system/license", \ +# true, {:verb => :post, :url => ['/api/get_license_info', '/api/admin/get_license_info']} 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