Sha256: f0a2e2522622dfa2440ac4ca5dd4c9e6f88d98f82efbd3f494ea8bf0e6d7a43d
Contents?: true
Size: 469 Bytes
Versions: 9
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true require_relative 'parser' require_relative 'pageviews' require_relative 'unique_pageviews' module LogAnalyser class PageviewsLogAggregator def initialize(file_path) @file_path = file_path end def all Pageviews.for(entries) end def unique UniquePageviews.for(entries) end private attr_accessor :file_path def entries @entries ||= Parser.call(file_path) end end end
Version data entries
9 entries across 9 versions & 1 rubygems