Newer
Older
dmpopidor / app / models / stat_shared_plan.rb
@Sam Rust Sam Rust on 17 Mar 2020 513 bytes Issue/2345 (#2427)
# frozen_string_literal: true

# == Schema Information
#
# Table name: stats
#
#  id         :integer          not null, primary key
#  count      :integer          default(0)
#  date       :date             not null
#  details    :text
#  type       :string           not null
#  created_at :datetime         not null
#  updated_at :datetime         not null
#  org_id     :integer
#

class StatSharedPlan < Stat

  class << self

    def to_csv(shared_plans)
      Stat.to_csv(shared_plans)
    end

  end

end