lib/intercom/user.rb in intercom-0.1.16 vs lib/intercom/user.rb in intercom-0.1.17
- old
+ new
@@ -225,9 +225,16 @@
def unsubscribed_from_emails
@attributes['unsubscribed_from_emails']
end
##
+ # Get url for user's avatar, if present. Otherwise, nil.
+ # @return [String]
+ def avatar_url
+ @attributes["avatar_url"]
+ end
+
+ ##
# Set whether user has unsubscribed from email
# @return [void]
def unsubscribed_from_emails=(unsubscribed_from_emails)
@attributes['unsubscribed_from_emails'] = unsubscribed_from_emails
end