Class: WorkViewStat

Inherits:
Hyrax::Statistic show all
Defined in:
app/models/work_view_stat.rb

Class Method Summary collapse

Methods inherited from Hyrax::Statistic

build_for, convert_date, ga_statistics, statistics, statistics_for, #to_flot

Class Method Details

.filter(work) ⇒ Object


5
6
7
# File 'app/models/work_view_stat.rb', line 5

def self.filter(work)
  { work_id: work.id }
end