Class: FileViewStat
- Inherits:
-
Hyrax::Statistic
- Object
- ActiveRecord::Base
- Hyrax::Statistic
- FileViewStat
- Defined in:
- app/models/file_view_stat.rb
Class Method Summary collapse
-
.filter(file) ⇒ Object
this is called by the parent class.
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 |