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

Class Method Details

.filter(file) ⇒ Object

this is called by the parent class



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

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