Sha256: 0d9ca0c21de34a6fb93dc3ab3c5504408f1ffbaebd5d85fe39c233ce7266c9ca

Contents?: true

Size: 556 Bytes

Versions: 14

Compression:

Stored size: 556 Bytes

Contents

module DropboxApi::Endpoints::Users
  class GetAccount < DropboxApi::Endpoints::Rpc
    Method      = :post
    Path        = "/2/users/get_account".freeze
    ResultType  = DropboxApi::Metadata::BasicAccount
    ErrorType   = DropboxApi::Errors::GetAccountError

    # Get information about a user's account.
    #
    # @param account_id [String] A user's account identifier.
    # @return [BasicAccount] Basic information about any account.
    add_endpoint :get_account do |account_id|
      perform_request :account_id => account_id
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.17 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.16 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.15 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.14 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.13 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.12 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.11 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.10 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.9 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.8 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.7 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.6 lib/dropbox_api/endpoints/users/get_account.rb
dropbox_api-0.1.5 lib/dropbox_api/endpoints/users/get_account.rb