Sha256: f96bceae1fe8494981ffe6ecb7cd118ba48bf5188a8a73726e4ec4fcce49c3ed
Contents?: true
Size: 252 Bytes
Versions: 25
Compression:
Stored size: 252 Bytes
Contents
# frozen_string_literal: true class FileViewStat < Hyrax::Statistic self.cache_column = :views self.event_type = :pageviews class << self # this is called by the parent class def filter(file) { file_id: file.id } end end end
Version data entries
25 entries across 25 versions & 1 rubygems