####To call /comments
RubyStackoverflow.comments(options = {})
Example
response = RubyStackoverflow.comments({min: 1, max: 10, sort: 'votes'}) response.data #=> [#<RubyStackoverflow::Client::Comment:0x007f8861255e90 @comment_id=188189, @post_id=356342, @creation_date="2008-12-10 17:13:59 UTC", @score=10,...]
####To call/comments/{ids} (comments identified in id)
RubyStackoverflow.comments_by_ids(options = {})
response = RubyStackoverflow.comments_by_ids(['129085', '131326']) response.data #=> [#<RubyStackoverflow::Client::Comment:0x007f8861255e90 @comment_id=129085, @post_id=356342, @creation_date="2008-12-10 17:13:59 UTC", @score=10,...]
There was an error while loading. Please reload this page.