Class: DropboxApi::Metadata::BasicAccount

Inherits:
Base
  • Object
show all
Defined in:
lib/dropbox_api/metadata/basic_account.rb

Overview

Example of a serialized BasicAccount object:

{
  "account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc",
  "name": {
      "given_name": "Franz",
      "surname": "Ferdinand",
      "familiar_name": "Franz",
      "display_name": "Franz Ferdinand (Personal)"
  },
  "email": "franz@dropbox.com",
  "email_verified": true,
  "disabled": false,
  "is_teammate": true,
  "profile_photo_url": "https://dl-web.dropbox.com/account_photo/get/dbid%3AAAH4f99T0taONIb-OurWxbNQ6ywGRopQngc?vers=1453416696524&size=128x128",
  "team_member_id": "dbmid:AAHhy7WsR0x-u4ZCqiDl5Fz5zvuL3kmspwU",
  "root_info": {
    root_namespace_id: 7,
    home_namespace_id: 1,
    home_path: "/Franz Ferdinand"
  }
}

Method Summary

Methods inherited from Base

field, #initialize, #serialized_field, #to_hash

Constructor Details

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