Class: Octo::ProductTrend

Inherits:
Object
  • Object
show all
Extended by:
Trends
Includes:
Cequel::Record
Defined in:
lib/octocore/models/enterprise/product_trend.rb

Overview

Class for storing trending product

Constant Summary

Constants included from Trends

Trends::DEFAULT_COUNT

Constants included from Counter::Helper

Counter::Helper::METHOD_PREFIX

Constants included from Cequel::Record

Cequel::Record::DUMP_ATTRS

Method Summary

Methods included from Trends

aggregate!, aggregate_and_create, calculate, get_trending, trend_class, trend_for, trendable

Methods included from Counter::Helper

counter_text, #generate_aggregators, #get_duration_for_counter_type, #get_fromtype_for_totype, #get_typecounters, #max_type, #method_names_type_counter, #string_to_const_val, #type_counters_method_names

Methods included from Cequel::Record

#marshal_dump, #marshal_load, redis, update_cache_config