Sha256: 4e67a46ea7c57bf4a2170f4e14d2e37c026a54290238ad81b83d71f4312b7b24
Contents?: true
Size: 758 Bytes
Versions: 24
Compression:
Stored size: 758 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # The data store for a Meeting in the Decidim::Meetings component. It stores a # title, description and any other useful information to render a custom meeting. class Meeting < Meetings::ApplicationRecord include Decidim::Resourceable include Decidim::HasAttachments include Decidim::HasFeature include Decidim::HasReference include Decidim::HasScope include Decidim::HasCategory feature_manifest_name "meetings" validates :title, presence: true geocoded_by :address, http_headers: ->(proposal) { { "Referer" => proposal.feature.organization.host } } def closed? closed_at.present? end end end end
Version data entries
24 entries across 24 versions & 2 rubygems