Sha256: 346b51286feffac8d389ac3d8e47513331b60f3ab0adc0cd54836139fe486ee9
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
module YammerApi class User < YammerApi::Base lazy_attr_reader :full_name, :id, :job_title, :nickname, :profile_url, :profile_image, :stats # @return String def nickname @nickname ||= @attrs["name"] if @attrs["name"] end # @return String def profile_url @profile_url ||= @attrs["web_url"] if @attrs["web_url"] end # @return String def profile_image @profile_image ||= @attrs["mugshot_url"] if @attrs["mugshot_url"] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yammer_api-0.1.0 | lib/yammer_api/user.rb |