Newer
Older
dmpopidor / app / models / stat_joined_user.rb
@Quentin SONREL Quentin SONREL on 20 Jan 2020 514 bytes Added structured schema/answers models and tables
# frozen_string_literal: true
# == Schema Information
#
# Table name: stats
#
#  id         :integer          not null, primary key
#  count      :integer          default("0")
#  date       :date             not null
#  type       :string           not null
#  org_id     :integer
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  details    :text
#

class StatJoinedUser < Stat

  class << self

    def to_csv(joined_users)
      Stat.to_csv(joined_users)
    end

  end

end