lib/rhoconnect/api/system/get_license_info.rb in rhoconnect-3.3.1.beta4 vs lib/rhoconnect/api/system/get_license_info.rb in rhoconnect-3.3.1
- 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
+ {: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