Method: Xing::Post#comments
- Defined in:
- lib/xing/post.rb
#comments ⇒ Xing::Comments
25 26 27 |
# File 'lib/xing/post.rb', line 25 def comments @comments ||= @attrs["comments"].nil? ? [] : @attrs["comments"]["latest_comments"].map{|comment| Xing::Comment.new(comment)} end |