Method: RubyStackoverflow::Client::Question.data_has_comment?
- Defined in:
- lib/ruby-stackoverflow/client/resource/question.rb
.data_has_comment?(data) ⇒ Boolean
36 37 38 |
# File 'lib/ruby-stackoverflow/client/resource/question.rb', line 36 def data_has_comment?(data) data.first.include?(:comment_id) && !data.first.include?(:timeline_type) end |