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".freeze
- 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
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Rpc
Instance Method Details
#get_account(account_id) ⇒ BasicAccount
Get information about a user's account.
12 13 14 |
# File 'lib/dropbox_api/endpoints/users/get_account.rb', line 12 add_endpoint :get_account do |account_id| perform_request :account_id => account_id end |