Class: FileViewStat

Inherits:
Hyrax::Statistic show all
Defined in:
app/models/file_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(file) ⇒ Object

this is called by the parent class



8
9
10
# File 'app/models/file_view_stat.rb', line 8

def filter(file)
  { file_id: file.id }
end