Module: Metrika::Api::Statistics
- Included in:
- Client
- Defined in:
- lib/metrika/api/statistics.rb
Instance Method Summary collapse
- #counter_stat_geo_path ⇒ Object
- #counter_stat_interest_path ⇒ Object
-
#get_counter_stat_geo(id, params = {}) ⇒ Object
Geo.
-
#get_counter_stat_interest(id, params = {}) ⇒ Object
Interest.
Instance Method Details
#counter_stat_geo_path ⇒ Object
50 51 52 |
# File 'lib/metrika/api/statistics.rb', line 50 def counter_stat_geo_path "/stat/geo" end |
#counter_stat_interest_path ⇒ Object
61 62 63 |
# File 'lib/metrika/api/statistics.rb', line 61 def counter_stat_interest_path "/stat/interest" end |
#get_counter_stat_geo(id, params = {}) ⇒ Object
Geo
44 45 46 47 48 |
# File 'lib/metrika/api/statistics.rb', line 44 def get_counter_stat_geo(id, params = {}) params = self.format_params(params) self.get(self.counter_stat_geo_path, params.merge(:id => id)) end |
#get_counter_stat_interest(id, params = {}) ⇒ Object
Interest
55 56 57 58 59 |
# File 'lib/metrika/api/statistics.rb', line 55 def get_counter_stat_interest(id, params = {}) params = self.format_params(params) self.get(self.counter_stat_interest_path, params.merge(:id => id)) end |