Class: DropboxApi::Endpoints::Users::GetAccount
- Defined in:
- lib/dropbox_api/endpoints/users/get_account.rb
Constant Summary collapse
- Method =
:post
- Path =
'/2/users/get_account'
- ResultType =
DropboxApi::Metadata::BasicAccount
- ErrorType =
DropboxApi::Errors::GetAccountError
Instance Method Summary collapse
-
#get_account(account_id) ⇒ BasicAccount
Get information about a user's account.
Methods inherited from Rpc
#build_connection, #build_request, #request_body
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Base
Instance Method Details
#get_account(account_id) ⇒ BasicAccount
Get information about a user's account.
13 14 15 |
# File 'lib/dropbox_api/endpoints/users/get_account.rb', line 13 add_endpoint :get_account do |account_id| perform_request account_id: account_id end |