module RubyStackoverflow::Client::CommentsHelper
Public Instance Methods
comments(options = {})
click to toggle source
# File lib/ruby-stackoverflow/client/comments_helper.rb, line 4 def comments(options = {}) comments_response(options) end
comments_by_ids(ids, options = {})
click to toggle source
# File lib/ruby-stackoverflow/client/comments_helper.rb, line 8 def comments_by_ids(ids, options = {}) url = join_ids(ids) comments_response(options, url) end
Private Instance Methods
comments_response(options={}, url='')
click to toggle source
# File lib/ruby-stackoverflow/client/comments_helper.rb, line 15 def comments_response(options={}, url='') url = 'comments/' + url getr(url, 'comment', options) end