Class: Dropbox::BasicAccount
Instance Attribute Summary collapse
-
#is_teammate ⇒ Object
readonly
Returns the value of attribute is_teammate.
-
#team_member_id ⇒ Object
readonly
Returns the value of attribute team_member_id.
Attributes inherited from Account
#account_id, #disabled, #display_name, #email, #email_verified, #profile_photo_url
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ BasicAccount
constructor
A new instance of BasicAccount.
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_teammate ⇒ Object (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_id ⇒ Object (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 |