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'
ResultType =
DropboxApi::Metadata::SpaceUsage
ErrorType =
nil

Instance Method Summary collapse

Methods inherited from Rpc

#build_connection, #build_request, #request_body

Methods inherited from Base

add_endpoint, #initialize

Constructor Details

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

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.



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

add_endpoint :get_space_usage do
  perform_request nil
end