Sha256: e996a2a6331012b3c01af7b9ef4e40c16f16eb3551da14851bdd96f76bbe9975

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true
module Decidim
  # Organizations are one of the main models of Decidim. In a single Decidim
  # installation we can find many organizations and each of them can start
  # their own participatory processes.
  class Organization < ApplicationRecord
    validates :name, :host, uniqueness: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-core-0.0.1.alpha4 app/models/decidim/organization.rb
decidim-core-0.0.1.alpha3 app/models/decidim/organization.rb