Class: DropboxApi::Endpoints::Users::GetSpaceUsage

Inherits:
Rpc
  • Object
show all
Defined in:
lib/dropbox_api/endpoints/users/get_space_usage.rb

Constant Summary collapse

Method =
:post
Path =
"/2/users/get_space_usage".freeze
ResultType =
DropboxApi::Metadata::SpaceUsage
ErrorType =
nil

Instance Method Summary collapse

Methods inherited from Rpc

#build_request, #initialize, #request_body

Methods inherited from Base

add_endpoint

Constructor Details

This class inherits a constructor from DropboxApi::Endpoints::Rpc

Instance Method Details

#get_space_usageSpaceUsage

Get the space usage information for the current user's account.

Returns:

  • (SpaceUsage)

    Information about a user's space usage and quota.


11
12
13
# File 'lib/dropbox_api/endpoints/users/get_space_usage.rb', line 11

add_endpoint :get_space_usage do
  perform_request nil
end