Class: YammerApi::User
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#nickname ⇒ Object
String.
-
#profile_image ⇒ Object
String.
-
#profile_url ⇒ Object
String.
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from YammerApi::Base
Instance Method Details
#nickname ⇒ Object
Returns String.
9 10 11 |
# File 'lib/yammer_api/user.rb', line 9 def nickname @nickname ||= @attrs["name"] if @attrs["name"] end |
#profile_image ⇒ Object
Returns String.
19 20 21 |
# File 'lib/yammer_api/user.rb', line 19 def profile_image @profile_image ||= @attrs["mugshot_url"] if @attrs["mugshot_url"] end |
#profile_url ⇒ Object
Returns String.
14 15 16 |
# File 'lib/yammer_api/user.rb', line 14 def profile_url @profile_url ||= @attrs["web_url"] if @attrs["web_url"] end |