Method: RubyStackoverflow::Client::Question.data_has_timeline?

Defined in:
lib/ruby-stackoverflow/client/resource/question.rb

.data_has_timeline?(data) ⇒ Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/ruby-stackoverflow/client/resource/question.rb', line 40

def data_has_timeline?(data)
  data.first.include?(:timeline_type)
end