Sha256: 0f2b685c9251dd0df08fa7778a6ab67f199326ff9aafb0c1e6b1656e3a53ec33

Contents?: true

Size: 158 Bytes

Versions: 4

Compression:

Stored size: 158 Bytes

Contents

class FileViewStat < Sufia::Statistic
  self.cache_column = :views
  self.event_type = :pageviews

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sufia-7.1.0 app/models/file_view_stat.rb
sufia-7.0.0 app/models/file_view_stat.rb
sufia-7.0.0.rc2 app/models/file_view_stat.rb
sufia-7.0.0.rc1 app/models/file_view_stat.rb