Method: Xing::Activity#text
- Defined in:
- lib/xing/activity.rb
#text ⇒ Object
Returns String.
23 24 25 26 27 28 29 |
# File 'lib/xing/activity.rb', line 23 def text @text ||= case @attrs["type"] when "status" then @attrs["content"] when "bookmark" then @attrs["description"] else nil end end |