Class: StatHat::API
- Inherits:
-
Object
- Object
- StatHat::API
- Defined in:
- lib/stathat.rb
Class Method Summary collapse
- .ez_post_count(stat_name, ezkey, count, timestamp = nil, &block) ⇒ Object
- .ez_post_value(stat_name, ezkey, value, timestamp = nil, &block) ⇒ Object
- .post_count(stat_key, user_key, count, timestamp = nil, &block) ⇒ Object
- .post_value(stat_key, user_key, value, timestamp = nil, &block) ⇒ Object
Class Method Details
.ez_post_count(stat_name, ezkey, count, timestamp = nil, &block) ⇒ Object
80 81 82 |
# File 'lib/stathat.rb', line 80 def ez_post_count(stat_name, ezkey, count, =nil, &block) Reporter.instance.ez_post_count(stat_name, ezkey, count, , block) end |
.ez_post_value(stat_name, ezkey, value, timestamp = nil, &block) ⇒ Object
76 77 78 |
# File 'lib/stathat.rb', line 76 def ez_post_value(stat_name, ezkey, value, =nil, &block) Reporter.instance.ez_post_value(stat_name, ezkey, value, , block) end |
.post_count(stat_key, user_key, count, timestamp = nil, &block) ⇒ Object
84 85 86 |
# File 'lib/stathat.rb', line 84 def post_count(stat_key, user_key, count, =nil, &block) Reporter.instance.post_count(stat_key, user_key, count, , block) end |
.post_value(stat_key, user_key, value, timestamp = nil, &block) ⇒ Object
88 89 90 |
# File 'lib/stathat.rb', line 88 def post_value(stat_key, user_key, value, =nil, &block) Reporter.instance.post_value(stat_key, user_key, value, , block) end |