Class: Dropbox::FullAccount

Inherits:
Account
  • Object
show all
Defined in:
lib/dropbox/account.rb

Instance Attribute Summary collapse

Attributes inherited from Account

#account_id, #disabled, #display_name, #email, #email_verified

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ FullAccount

Returns a new instance of FullAccount.


28
29
30
31
32
33
34
35
# File 'lib/dropbox/account.rb', line 28

def initialize(attrs={})
  @locale = attrs.delete('locale')
  @referral_link = attrs.delete('referral_link')
  @is_paired = attrs.delete('is_paired')
  @profile_photo_url = attrs.delete('profile_photo_url')
  @country = attrs.delete('country')
  super(attrs)
end

Instance Attribute Details

#countryObject (readonly)

Returns the value of attribute country


26
27
28
# File 'lib/dropbox/account.rb', line 26

def country
  @country
end

#is_pairedObject (readonly)

Returns the value of attribute is_paired


26
27
28
# File 'lib/dropbox/account.rb', line 26

def is_paired
  @is_paired
end

#localeObject (readonly)

Returns the value of attribute locale


26
27
28
# File 'lib/dropbox/account.rb', line 26

def locale
  @locale
end

#profile_photo_urlObject (readonly)

Returns the value of attribute profile_photo_url


26
27
28
# File 'lib/dropbox/account.rb', line 26

def profile_photo_url
  @profile_photo_url
end

Returns the value of attribute referral_link


26
27
28
# File 'lib/dropbox/account.rb', line 26

def referral_link
  @referral_link
end