clayton/consummo

View on GitHub
lib/consummo/enrichers/twitter_share_enricher.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Consummo
  class TwitterShareEnricher < SocialMediaMetricEnricher
    def metric_endpoint
      "http://urls.api.twitter.com/1/urls/count.json?url="
    end

    def metric_name
      "twitter_shares"
    end

    def metric_key
      "count"
    end
  end
end