class PatientZero::Message::Twitter

Public Instance Methods

clicks() click to toggle source
# File lib/patient_zero/message/twitter.rb, line 16
def clicks
  data.fetch 'clicks'
end
engagements() click to toggle source
# File lib/patient_zero/message/twitter.rb, line 4
def engagements
  @engagements ||= retweets + favorites + clicks
end
favorites() click to toggle source
# File lib/patient_zero/message/twitter.rb, line 12
def favorites
  data.fetch 'favorites'
end
retweets() click to toggle source
# File lib/patient_zero/message/twitter.rb, line 8
def retweets
  data.fetch 'retweets'
end