Sha256: 86b8e5353114bb98f1882a79f7e96c3b97d92a76970b4253f152ad75e0d961be
Contents?: true
Size: 553 Bytes
Versions: 71
Compression:
Stored size: 553 Bytes
Contents
# frozen_string_literal: true module Decidim module Verifications module CsvCensus class Status def initialize(organization) @organization = organization end def last_import_at @last ||= CsvDatum.inside(@organization) .order(created_at: :desc).first @last ? @last.created_at : nil end def count @count ||= CsvDatum.inside(@organization) .distinct.count(:email) end end end end end
Version data entries
71 entries across 71 versions & 1 rubygems