Class: Evernote::EDAM::Type::User
- Inherits:
-
Object
- Object
- Evernote::EDAM::Type::User
- Defined in:
- lib/evernote/edam/type/user.rb
Instance Method Summary collapse
-
#belongs_to_business? ⇒ Boolean
Determines if this user is a part of a business.
-
#business_name ⇒ String
Returns the business name.
Instance Method Details
#belongs_to_business? ⇒ Boolean
Determines if this user is a part of a business
9 10 11 |
# File 'lib/evernote/edam/type/user.rb', line 9 def belongs_to_business? self.accounting.businessId != nil end |
#business_name ⇒ String
Returns the business name
16 17 18 |
# File 'lib/evernote/edam/type/user.rb', line 16 def business_name self.accounting.businessName end |