Method: Databasedotcom::Chatter::FeedItem#comments
- Defined in:
- lib/databasedotcom/chatter/feed_item.rb
#comments ⇒ Object
Returns a Collection of comments that were posted on this FeedItem instance.
10 11 12 13 |
# File 'lib/databasedotcom/chatter/feed_item.rb', line 10 def comments collection = Databasedotcom::Collection.new(self.client, self.raw_hash["comments"]["total"], self.raw_hash["comments"]["nextPageUrl"], nil, self.raw_hash["comments"]["currentPageUrl"]) collection.concat(self.raw_hash["comments"]["comments"]) end |