lib/groupdocs/storage.rb in groupdocs-1.2.11 vs lib/groupdocs/storage.rb in groupdocs-1.3.0
- old
+ new
@@ -24,13 +24,13 @@
request[:method] = :GET
request[:path] = '/storage/{{client_id}}'
end.execute!
{
- total_space: "#{json[:total_space] / 1048576} MB",
- available_space: "#{json[:avail_space] / 1048576} MB",
- document_credits: json[:doc_credits],
- available_credits: json[:avail_credits]
+ :total_space => "#{json[:total_space] / 1048576} MB",
+ :available_space => "#{json[:avail_space] / 1048576} MB",
+ :document_credits => json[:doc_credits],
+ :available_credits => json[:avail_credits]
}
end
end # Storage
end # GroupDocs