lib/groupdocs/storage.rb in groupdocs-0.2 vs lib/groupdocs/storage.rb in groupdocs-0.2.1
- old
+ new
@@ -17,10 +17,10 @@
# @option access [String] :client_id
# @option access [String] :private_key
# @return [Hash]
#
def self.info!(access = {})
- json = GroupDocs::Api::Request.new do |request|
+ json = Api::Request.new do |request|
request[:access] = access
request[:method] = :GET
request[:path] = '/storage/{{client_id}}'
end.execute!