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, query_works, resource_types, statistics, statistics_for, #to_flot, work_types

Class Method Details

.filter(work) ⇒ Object



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

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