class PatientZero::Analytics::Tumblr

Public Instance Methods

engagements() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 12
def engagements
  likes
end
followers() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 16
def followers
  analytical_data.fetch('total_followers').to_i
end
impressions() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 32
def impressions
  nil
end
impressions_by_city() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 24
def impressions_by_city
  {}
end
likes() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 20
def likes
  analytical_data.fetch('total_likes').to_i
end
messages() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 4
def messages
  []
end
reach() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 36
def reach
  nil
end
total_comments() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 28
def total_comments
  nil
end
total_posts() click to toggle source
# File lib/patient_zero/analytics/tumblr.rb, line 8
def total_posts
  analytical_data.fetch('total_posts').to_i
end