Class: Dropbox::BasicAccount

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, #profile_photo_url

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ BasicAccount

Returns a new instance of BasicAccount.


18
19
20
21
22
# File 'lib/dropbox/account.rb', line 18

def initialize(attrs={})
  @is_teammate = attrs.delete('is_teammate')
  @team_member_id = attrs.delete('team_member_id')
  super(attrs)
end

Instance Attribute Details

#is_teammateObject (readonly)

Returns the value of attribute is_teammate


16
17
18
# File 'lib/dropbox/account.rb', line 16

def is_teammate
  @is_teammate
end

#team_member_idObject (readonly)

Returns the value of attribute team_member_id


16
17
18
# File 'lib/dropbox/account.rb', line 16

def team_member_id
  @team_member_id
end