Class: Sentiero::Analytics::Analyzer

Inherits:
Object
  • Object
show all
Includes:
Bounded, EntryAttribution, Events, Stats
Defined in:
lib/sentiero/analytics/analyzer.rb

Constant Summary

Constants included from Events

Events::CUSTOM, Events::INCREMENTAL, Events::META, Events::SOURCE_INPUT, Events::SOURCE_MOUSE_INTERACTION, Events::SOURCE_SCROLL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from EntryAttribution

#earlier?, #first_meta_href, #same_origin?, #update_entry_candidate

Methods included from Bounded

#bounded_fetch, #bounded_increment

Methods included from Stats

#mean, #offset_ms, #percentile, #top_counts

Constructor Details

#initialize(store = Sentiero.store) ⇒ Analyzer

Returns a new instance of Analyzer.



19
20
21
# File 'lib/sentiero/analytics/analyzer.rb', line 19

def initialize(store = Sentiero.store)
  @store = store
end

Instance Attribute Details

#storeObject (readonly)

Returns the value of attribute store.



17
18
19
# File 'lib/sentiero/analytics/analyzer.rb', line 17

def store
  @store
end