class StatHat::API
Public Class Methods
ez_post_count(stat_name, ezkey, count, timestamp=nil, &block)
click to toggle source
# File lib/stathat.rb, line 80 def ez_post_count(stat_name, ezkey, count, timestamp=nil, &block) Reporter.instance.ez_post_count(stat_name, ezkey, count, timestamp, block) end
ez_post_value(stat_name, ezkey, value, timestamp=nil, &block)
click to toggle source
# File lib/stathat.rb, line 76 def ez_post_value(stat_name, ezkey, value, timestamp=nil, &block) Reporter.instance.ez_post_value(stat_name, ezkey, value, timestamp, block) end
post_count(stat_key, user_key, count, timestamp=nil, &block)
click to toggle source
# File lib/stathat.rb, line 84 def post_count(stat_key, user_key, count, timestamp=nil, &block) Reporter.instance.post_count(stat_key, user_key, count, timestamp, block) end
post_value(stat_key, user_key, value, timestamp=nil, &block)
click to toggle source
# File lib/stathat.rb, line 88 def post_value(stat_key, user_key, value, timestamp=nil, &block) Reporter.instance.post_value(stat_key, user_key, value, timestamp, block) end